diff options
author | wiz <wiz> | 2013-03-23 19:10:45 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-03-23 19:10:45 +0000 |
commit | 562bf2cf7b5d2089fe24c62ee97d7470492394bb (patch) | |
tree | de934d94c138430008cb28328a0fdca74944fdd3 | |
parent | 41e30b50b163f433378091bb04f0f6f34e95d8dc (diff) | |
download | pkgsrc-562bf2cf7b5d2089fe24c62ee97d7470492394bb.tar.gz |
Readd i386 fix, but for Linux and NetBSD only.
Ok jperkin.
-rw-r--r-- | lang/gcc47/Makefile | 6 |
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 |