diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2001-05-28 14:54:04 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-28 15:30:42 +0000 |
commit | b0f9136b66892861f4764ec047f74ef287daf988 (patch) | |
tree | da0089161c5f419f47da97babb7c30f17cdade39 | |
parent | 9a6404c542f0e44e829f8d8091fc173931864343 (diff) | |
download | perl-b0f9136b66892861f4764ec047f74ef287daf988.tar.gz |
AIX and gcc (moving targets)
Message-Id: <20010528124531.9FAB.H.M.BRAND@hccnet.nl>
p4raw-id: //depot/perl@10256
-rw-r--r-- | hints/aix.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index c3741319e8..e85b68b8ef 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -126,6 +126,7 @@ d_setreuid='undef' # Changes for dynamic linking by Wayne Scott <wscott@ichips.intel.com> # # Tell perl which symbols to export for dynamic linking. +cccdlflags='none' # All AIX code is position independent case "$cc" in *gcc*) ccdlflags='-Xlinker' ;; *) ccversion=`lslpp -L | grep 'C for AIX Compiler$' | awk '{print $2}'` @@ -299,6 +300,9 @@ EOM # Remove xlc-spefific -qflags. ccflags="`echo $ccflags | sed -e 's@ -q[^ ]*@ @g' -e 's@^-q[^ ]* @@g'`" ldflags="`echo $ldflags | sed -e 's@ -q[^ ]*@ @g' -e 's@^-q[^ ]* @@g'`" + # Move xld-spefific -bflags. + ccflags="`echo $ccflags | sed -e 's@ -b@ -Wl,-b@g'`" + ldflags="`echo $ldflags | sed -e 's@ -b@ -Wl,-b@g'`" echo >&4 "(using ccflags $ccflags)" echo >&4 "(using ldflags $ldflags)" ;; |