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 | f2145352500e0eedf7a603a52782c43a02e8db93 (patch) | |
tree | 798e409f339e6e8b47ff5bf47d9024e70b974b0b /mk | |
parent | aeeb70ea5541d3eb1eab4df540a3c315b48dbf84 (diff) | |
download | pkgsrc-f2145352500e0eedf7a603a52782c43a02e8db93.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.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 |