From 478f60f94cd42db97807b1cda245481a436819d9 Mon Sep 17 00:00:00 2001 From: Michael Haubenwallner Date: Sat, 26 Jan 2013 05:07:08 +0100 Subject: [PATCH] configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. 2013-01-25 Michael Haubenwallner * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. * configure: Regenerate. From-SVN: r195486 --- gcc/ChangeLog | 5 +++++ gcc/configure | 6 ++++++ gcc/configure.ac | 6 ++++++ 3 files changed, 17 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3897b8d6a7e..2603280672e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-01-25 Michael Haubenwallner + + * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. + * configure: Regenerate. + 2013-01-25 Jakub Jelinek PR tree-optimization/56098 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 diff --git a/gcc/configure.ac b/gcc/configure.ac index 24568f1371f..b471faef02f 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3317,6 +3317,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