summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorahoka <ahoka>2008-11-16 17:01:53 +0000
committerahoka <ahoka>2008-11-16 17:01:53 +0000
commitb24ea1c40b767c6f9260665efc5504bd70a2a36b (patch)
tree798e409f339e6e8b47ff5bf47d9024e70b974b0b /mk
parente55013feffe45048d7c8b8634e7e7d1d31f00207 (diff)
downloadpkgsrc-b24ea1c40b767c6f9260665efc5504bd70a2a36b.tar.gz
Don't try to build gcc2 on AMD64, as it's not supported by that compiler.
This issue was reported by Daniel Horecki.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/gcc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 94420a3d117..dc4be251d79 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -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 @@ USE_NATIVE_GCC?= no
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