1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/devel/avr-gcc/files/patch-ad
Joerg Wunsch a147ec1d20 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.
2004-04-28 20:53:33 +00:00

13 lines
423 B
Plaintext

--- 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