diff options
author | ahoka <ahoka@pkgsrc.org> | 2008-11-16 17:01:53 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2008-11-16 17:01:53 +0000 |
commit | f4426ff6570efc617785a7bcddb012a02ed2c57f (patch) | |
tree | 798e409f339e6e8b47ff5bf47d9024e70b974b0b | |
parent | 09667abda0753c022d733c6f374d6f2887d26a25 (diff) | |
download | pkgsrc-f4426ff6570efc617785a7bcddb012a02ed2c57f.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.
-rw-r--r-- | mk/compiler/gcc.mk | 6 |
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 |