summaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-26 04:07:08 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-26 04:07:08 +0000
commit82163b8951e340232edd75640eb52b34f5c8887d (patch)
tree59e9cb97ce31c4231b3999cff3804ed421660c0d /gcc/configure
parente77f74b347f5a1673abdd4ccf27bc3b2994a4849 (diff)
downloadgcc-82163b8951e340232edd75640eb52b34f5c8887d.tar.gz
2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
* configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195486 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure
index a4a773ae780..5730c9d4517 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -23650,6 +23650,12 @@ elif test x$gcc_cv_ld != x; then
gcc_cv_ld_static_dynamic=yes
else
case "$target" in
+ # AIX ld uses -b flags
+ *-*-aix4.[23]* | *-*-aix[5-9]*)
+ gcc_cv_ld_static_dynamic=yes
+ gcc_cv_ld_static_option="-bstatic"
+ gcc_cv_ld_dynamic_option="-bdynamic"
+ ;;
# HP-UX ld uses -a flags to select between shared and archive.
*-*-hpux*)
if test x"$gnu_ld" = xno; then