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

hints/aix_4.sh

index f88b28d..489ce89 100755 (executable)
@@ -406,6 +406,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)"