diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-07-26 13:23:10 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-07-26 13:23:10 +0000 |
commit | d3c62e8b294a3a45a5d44ea83433c15b6a39a198 (patch) | |
tree | eca24c40dd9eaae8105bede026b098f2880b6f7a /hints | |
parent | 54d7b08399a7a4a4d759c5f54935b5e645396c5e (diff) | |
download | perl-d3c62e8b294a3a45a5d44ea83433c15b6a39a198.tar.gz |
Use the correct gcc when more than one gcc is installed
Thanks to Campo
p4raw-id: //depot/perl@25228
Diffstat (limited to 'hints')
-rw-r--r-- | hints/aix.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index 5643bed4e2..835d23bd74 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)" |