summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-03-23 19:10:45 +0000
committerwiz <wiz@pkgsrc.org>2013-03-23 19:10:45 +0000
commit2db420a50b51718a1bdf0c2000d1aef5ef1859bb (patch)
treede934d94c138430008cb28328a0fdca74944fdd3 /lang
parentc647617811ee4fb4783b5c21a3d58b18346cd110 (diff)
downloadpkgsrc-2db420a50b51718a1bdf0c2000d1aef5ef1859bb.tar.gz
Readd i386 fix, but for Linux and NetBSD only.
Ok jperkin.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc47/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 19ea68da659..74e260ef51b 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2013/03/21 22:47:24 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2013/03/23 19:10:45 wiz Exp $
GCC_PKGNAME= gcc47
.include "version.mk"
@@ -77,6 +77,10 @@ MAKE_ENV+= ac_cv_func_clock_gettime=yes
CONFIGURE_ARGS+= --disable-bootstrap
.endif
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || !empty(MACHINE_PLATFORM:MLinux-*-i386)
+CONFIGURE_ARGS+= --with-arch=i486 --with-tune=i486
+.endif
+
.include "options.mk"
# ${WRKSRC}/fixincludes/ looks for sed and compiles the path to sed into