summaryrefslogtreecommitdiff
path: root/user/qt5-qtwebkit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/qt5-qtwebkit/APKBUILD')
-rw-r--r--user/qt5-qtwebkit/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/user/qt5-qtwebkit/APKBUILD b/user/qt5-qtwebkit/APKBUILD
index 38b39c07c..b2a408ddb 100644
--- a/user/qt5-qtwebkit/APKBUILD
+++ b/user/qt5-qtwebkit/APKBUILD
@@ -35,8 +35,13 @@ prepare() {
}
build() {
+ local _maybe_smaller=""
cd "$builddir"
- qmake
+
+ case "$CARCH" in
+ pmmx) _maybe_smaller="QMAKE_CXXFLAGS_DEBUG+=-g0"
+ esac
+ qmake $_maybe_smaller
# /usr/include/fortify/stdlib.h:20:25: fatal error: stdlib.h: No such file or directory
# see: http://stackoverflow.com/questions/37218953/isystem-on-a-system-include-directory-causes-errors