This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
gcc on AIX doesn't like -G on the commandline
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 3 Aug 2004 23:48:13 +0000 (23:48 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 3 Aug 2004 23:48:13 +0000 (23:48 +0000)
p4raw-id: //depot/perl@23188

hints/aix.sh

index baf8c00..8a10840 100644 (file)
@@ -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)"