qt5-qmake: fix cross compilation after 200 builds.

This commit is contained in:
Juan RP 2020-04-05 10:53:23 +02:00
parent 267ad8cb79
commit 43de6b5cd2
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368

View file

@ -1134,7 +1134,7 @@ qt5-qmake_package() {
if [ "$CROSS_BUILD" ]; then
vsed -i ${PKGDESTDIR}/usr/lib/qt5/mkspecs/common/gcc-base.conf \
-e "s|^\(QMAKE_CFLAGS_RELEASE.*\) ${XBPS_CFLAGS}|\1|"
vsed -i ${PKGDESTDIR}/usr/lib/qt5/mkspecs/common/g++-unix.conf
vsed -i ${PKGDESTDIR}/usr/lib/qt5/mkspecs/common/g++-unix.conf \
-e "s|^\(QMAKE_LFLAGS_RELEASE.*\) ${XBPS_LDFLAGS}|\1|"
else
vsed -i ${PKGDESTDIR}/usr/lib/qt5/mkspecs/common/gcc-base.conf \