qt5-base: don't set '-Oz' for default QMAKE_CFLAGS & QMAKE_CXXFLAGS

This commit is contained in:
Leonid Pliushch 2018-11-13 12:13:34 +02:00 committed by Yaksh Bariya
parent 44b0d3ff22
commit d62192fb89
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -22,8 +22,8 @@ diff -uNr qt-everywhere-src-5.11.2/qtbase/mkspecs/termux/qmake.conf qt-everywher
+QMAKE_PKG_CONFIG = pkg-config
+QMAKE_STRIP = strip
+
+QMAKE_CFLAGS += -I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support -Oz
+QMAKE_CXXFLAGS += -I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support -Oz
+QMAKE_CFLAGS += -I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support
+QMAKE_CXXFLAGS += -I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support
+QMAKE_LFLAGS += -L/data/data/com.termux/files/usr/lib -landroid-support
+QMAKE_LFLAGS_SHLIB += -shared
+QMAKE_LFLAGS_PLUGIN += -shared