python-PyQt5: fix PIE
This commit is contained in:
parent
711b487fe2
commit
2f9a59ff29
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-PyQt5'
|
# Template file for 'python-PyQt5'
|
||||||
pkgname=python-PyQt5
|
pkgname=python-PyQt5
|
||||||
version=5.6
|
version=5.6
|
||||||
revision=1
|
revision=2
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
wrksrc="PyQt5_gpl-${version}"
|
wrksrc="PyQt5_gpl-${version}"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -34,7 +34,8 @@ _do_pyqt5_build() {
|
||||||
|
|
||||||
python${pyver} configure.py --confirm-license --assume-shared ${tools} \
|
python${pyver} configure.py --confirm-license --assume-shared ${tools} \
|
||||||
CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
|
CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
|
||||||
LINK="${CXX}" LINK_SHLIB="${CXX}" LFLAGS="${LDFLAGS}" STRIP=""
|
LINK="${CXX}" LINK_SHLIB="${CXX}" LFLAGS="${LDFLAGS}" STRIP="" \
|
||||||
|
QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}"
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
|
Loading…
Reference in New Issue