From: H.Merijn Brand Date: Tue, 3 Aug 2004 23:48:13 +0000 (+0000) Subject: gcc on AIX doesn't like -G on the commandline X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ad5c63c6cecbd2f3619070c0fd8ea7f3132c0eae;p=p5sagit%2Fp5-mst-13.2.git gcc on AIX doesn't like -G on the commandline p4raw-id: //depot/perl@23188 --- diff --git a/hints/aix.sh b/hints/aix.sh index baf8c00..8a10840 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -318,6 +318,7 @@ libswanted_uselargefiles="`getconf XBS5_ILP32_OFFBIG_LIBS 2>/dev/null|sed -e 's@ ccflags="`echo $ccflags | sed -e 's@ -b@ -Wl,-b@g'`" ldflags="`echo ' '$ldflags | sed -e 's@ -b@ -Wl,-b@g'`" lddlflags="`echo ' '$lddlflags | sed -e 's@ -b@ -Wl,-b@g'`" + lddlflags="`echo ' '$lddlflags | sed -e 's@ -G @ -Wl,-G @g'`" ld='gcc' echo >&4 "(using ccflags $ccflags)" echo >&4 "(using ldflags $ldflags)"