pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Don't try to build gcc2 on AMD64, as it's ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/052fe50d8d67
branches:  trunk
changeset: 550169:052fe50d8d67
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sun Nov 16 17:01:53 2008 +0000

description:
Don't try to build gcc2 on AMD64, as it's not supported by that compiler.

This issue was reported by Daniel Horecki.

diffstat:

 mk/compiler/gcc.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r a7de860e8067 -r 052fe50d8d67 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Sun Nov 16 15:10:30 2008 +0000
+++ b/mk/compiler/gcc.mk        Sun Nov 16 17:01:53 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.94 2008/09/16 15:02:55 rillig Exp $
+# $NetBSD: gcc.mk,v 1.95 2008/11/16 17:01:53 ahoka Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -40,8 +40,8 @@
 
 GCC_REQD+=     2.8.0
 
-# gcc2 doesn't support c99
-.if !empty(USE_LANGUAGES:Mc99)
+# gcc2 doesn't support c99 and amd64
+.if !empty(USE_LANGUAGES:Mc99) || ${MACHINE_ARCH} == "x86_64"
 GCC_REQD+=     3.0
 .endif
 



Home | Main Index | Thread Index | Old Index