pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc47 On i386, set arch and tuning. Should addres...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65c39be7572c
branches:  trunk
changeset: 616257:65c39be7572c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 21 11:17:11 2013 +0000

description:
On i386, set arch and tuning. Should address PR 47460.
Patch from Kai-Uwe Eckhardt <kai-uwe.eckhardt%uni-rostock.de@localhost>.

diffstat:

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

diffs (19 lines):

diff -r d05b0d26ea26 -r 65c39be7572c lang/gcc47/Makefile
--- a/lang/gcc47/Makefile       Thu Mar 21 06:53:36 2013 +0000
+++ b/lang/gcc47/Makefile       Thu Mar 21 11:17:11 2013 +0000
@@ -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 @@
 .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"
 



Home | Main Index | Thread Index | Old Index