summaryrefslogtreecommitdiff
path: root/user/qt5-qtwebkit/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-01 06:26:35 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-01 06:26:35 +0000
commit3e64ad1fb1b9c43071fab0f5e0f1f64e8d609436 (patch)
treed1d16c5287175b61c010313fe44409edb2b28dd5 /user/qt5-qtwebkit/APKBUILD
parent3579eebe207eccdf15b1a026e7e8f7f75dc93511 (diff)
downloadpackages-3e64ad1fb1b9c43071fab0f5e0f1f64e8d609436.tar.gz
packages-3e64ad1fb1b9c43071fab0f5e0f1f64e8d609436.tar.bz2
packages-3e64ad1fb1b9c43071fab0f5e0f1f64e8d609436.tar.xz
packages-3e64ad1fb1b9c43071fab0f5e0f1f64e8d609436.zip
user/qt5-qtwebkit: fix pmmx build
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