diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 2004-04-28 20:53:33 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 2004-04-28 20:53:33 +0000 |
commit | a147ec1d2023cc78189d21c7212ec2cafa8abb73 (patch) | |
tree | d27d23347e0ecf354ad56f0da2e8be52833b4943 /devel/avr-gcc-3/files/patch-ad | |
parent | <disclaimer>Okay, go easy on me for this one. Real Life Work has been keeping (diff) |
Upgrade to GCC 3.4.0.
This also makes the port compile (again) under all 64-bit archs. For
amd64, patch-ad modifies config.guess to match GCC's expectation of
x86_64.
Notes
Notes:
svn path=/head/; revision=107878
Diffstat (limited to 'devel/avr-gcc-3/files/patch-ad')
-rw-r--r-- | devel/avr-gcc-3/files/patch-ad | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/avr-gcc-3/files/patch-ad b/devel/avr-gcc-3/files/patch-ad new file mode 100644 index 000000000000..05c5c3a7407f --- /dev/null +++ b/devel/avr-gcc-3/files/patch-ad @@ -0,0 +1,12 @@ +--- config.guess.orig Sun Feb 22 15:44:23 2004 ++++ config.guess Wed Apr 21 15:10:25 2004 +@@ -792,6 +792,9 @@ + #endif + EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` ++ if [ ".$UNAME_MACHINE" = ".amd64" ] ; then ++ UNAME_MACHINE=x86_64 ++ fi + # GNU/KFreeBSD systems have a "k" prefix to indicate we are using + # FreeBSD's kernel, but not the complete OS. + case ${LIBC} in gnu) kernel_only='k' ;; esac |