diff options
author | wiz <wiz> | 2013-03-23 19:10:45 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-03-23 19:10:45 +0000 |
commit | 19e8a09a60135d31232ff6718a7aecd67a041aa6 (patch) | |
tree | de934d94c138430008cb28328a0fdca74944fdd3 /lang/gcc47/Makefile | |
parent | 16efa74db7997e55866fa0096d2cb793aa97f51f (diff) | |
download | pkgsrc-19e8a09a60135d31232ff6718a7aecd67a041aa6.tar.gz |
Readd i386 fix, but for Linux and NetBSD only.
Ok jperkin.
Diffstat (limited to 'lang/gcc47/Makefile')
-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 |