qt5-webkit: fix cross
This commit is contained in:
parent
96a7f7b4c5
commit
718267136f
|
@ -2,10 +2,10 @@
|
|||
pkgname=qt5-webkit
|
||||
version=5.6.2
|
||||
revision=1
|
||||
nocross=yes
|
||||
build_style=qmake
|
||||
wrksrc=qtwebkit-opensource-src-${version}
|
||||
hostmakedepends="bison flex gperf perl python ruby pkg-config qt5-qmake"
|
||||
hostmakedepends="bison flex gperf perl python ruby pkg-config
|
||||
qt5-host-tools qt5-declarative-devel"
|
||||
makedepends="libwebp-devel libxslt-devel libXcomposite-devel sqlite-devel
|
||||
gst-plugins-base1-devel qt5-declarative-devel qt5-location-devel
|
||||
qt5-sensors-devel qt5-webchannel-devel"
|
||||
|
@ -19,11 +19,9 @@ checksum=528a6b8b1c5095367b26e8ce4f3a46bb739e2e9913ff4dfc6ef58a04fcd73966
|
|||
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
|
||||
CXXFLAGS="-fno-delete-null-pointer-checks"
|
||||
fi
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5 -I${XBPS_CROSS_BASE}/usr/include/qt5/QtCore"
|
||||
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5 -I${XBPS_CROSS_BASE}/usr/include/qt5/QtCore"
|
||||
export QT_SYSROOT=${XBPS_CROSS_BASE}
|
||||
# Can't use gold linker when cross compiling
|
||||
configure_args+=" QMAKE_LFLAGS_USE_GOLD="
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
|
|
Loading…
Reference in New Issue