pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc47 Readd i386 fix, but for Linux and NetBSD only.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bba5105c4b13
branches:  trunk
changeset: 616283:bba5105c4b13
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Mar 23 19:10:45 2013 +0000

description:
Readd i386 fix, but for Linux and NetBSD only.
Ok jperkin.

diffstat:

 lang/gcc47/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r d258a0ccd8de -r bba5105c4b13 lang/gcc47/Makefile
--- a/lang/gcc47/Makefile       Sat Mar 23 19:00:30 2013 +0000
+++ b/lang/gcc47/Makefile       Sat Mar 23 19:10:45 2013 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index