diff options
author | wiz <wiz@pkgsrc.org> | 2013-03-21 11:17:11 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-03-21 11:17:11 +0000 |
commit | caac65bace29aec7439862db8bf0e80bcc2c9ca0 (patch) | |
tree | 403428f49b1cc9c1ea7f425f9bf82941ff7e8378 /lang/gcc47 | |
parent | 4de6d31770816de0e46ccae8775488122667c0fc (diff) | |
download | pkgsrc-caac65bace29aec7439862db8bf0e80bcc2c9ca0.tar.gz |
On i386, set arch and tuning. Should address PR 47460.
Patch from Kai-Uwe Eckhardt <kai-uwe.eckhardt@uni-rostock.de>.
Diffstat (limited to 'lang/gcc47')
-rw-r--r-- | lang/gcc47/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index 202f832a160..b8a2f1e5b49 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2013/03/01 15:24:41 jperkin Exp $ +# $NetBSD: Makefile,v 1.17 2013/03/21 11:17:11 wiz Exp $ GCC_PKGNAME= gcc47 .include "version.mk" @@ -76,6 +76,9 @@ MAKE_ENV+= ac_cv_func_clock_gettime=yes .if ${OPSYS} == "DragonFly" CONFIGURE_ARGS+= --disable-bootstrap .endif +.if !empty(LOWER_ARCH:Mi386) +CONFIGURE_ARGS+= --with-arch=i486 --with-tune=i486 +.endif .include "options.mk" |