summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-02-19 14:26:21 +0000
committerjoerg <joerg@pkgsrc.org>2015-02-19 14:26:21 +0000
commit9b31ef84b616142e47649d6bec04f71e63a89cc9 (patch)
tree6a7d4b3d18e6c195a5b7094b4719169316b68e38 /x11
parent50e16e1952f7ddb84bf962fc926c7816f45d597d (diff)
downloadpkgsrc-9b31ef84b616142e47649d6bec04f71e63a89cc9.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