summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg>2015-02-19 14:26:21 +0000
committerjoerg <joerg>2015-02-19 14:26:21 +0000
commitfb054f26841159333e59550af6704426c77e7b8f (patch)
tree6a7d4b3d18e6c195a5b7094b4719169316b68e38 /x11
parent246d20bf3e0be8b056c82386977b94202980d8a1 (diff)
downloadpkgsrc-fb054f26841159333e59550af6704426c77e7b8f.tar.gz
-reduce-relocations is only supported on x86.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt5-qtbase/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/qt5-qtbase/Makefile b/x11/qt5-qtbase/Makefile
index ab3efc23d1f..d6e5ec630e3 100644
--- a/x11/qt5-qtbase/Makefile
+++ b/x11/qt5-qtbase/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2015/01/01 21:05:13 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2015/02/19 14:26:21 joerg Exp $
DISTNAME= qtbase-opensource-src-${QTVERSION}
PKGNAME= qt5-qtbase-${QTVERSION}
@@ -41,7 +41,8 @@ OPSYSVARS+= CONFIGURE_ARGS
.if ${OPSYS} != "Darwin"
CONFIGURE_ARGS+= -iconv
QMAKE_CONF= qmake.conf
-. if ${OPSYS} != "SunOS"
+. if ${OPSYS} != "SunOS" && \
+ (!empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64))
CONFIGURE_ARGS+= -reduce-relocations
. endif
.else