From: H.Merijn Brand Date: Tue, 26 Jul 2005 13:23:10 +0000 (+0000) Subject: Use the correct gcc when more than one gcc is installed X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d3c62e8b294a3a45a5d44ea83433c15b6a39a198;p=p5sagit%2Fp5-mst-13.2.git Use the correct gcc when more than one gcc is installed Thanks to Campo p4raw-id: //depot/perl@25228 --- diff --git a/hints/aix.sh b/hints/aix.sh index 5643bed..835d23b 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -320,8 +320,8 @@ libswanted_uselargefiles="`getconf XBS5_ILP32_OFFBIG_LIBS 2>/dev/null|sed -e 's@ lddlflags="`echo ' '$lddlflags | sed -e 's@ -b@ -Wl,-b@g'`" lddlflags="`echo ' '$lddlflags | sed -e 's@ -G @ -Wl,-G @g'`" case "$use64bitall" in - $define|true|[yY]*) ld="gcc -maix64" ;; - *) ld="gcc" ;; + $define|true|[yY]*) ld="$cc -maix64" ;; + *) ld="$cc" ;; esac echo >&4 "(using ccflags $ccflags)" echo >&4 "(using ldflags $ldflags)"