aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorMichael Haubenwallner <michael.haubenwallner@salomon.at>2013-01-26 05:07:08 +0100
committerDavid Edelsohn <dje@gcc.gnu.org>2013-01-25 23:07:08 -0500
commit478f60f94cd42db97807b1cda245481a436819d9 (patch)
tree59e9cb97ce31c4231b3999cff3804ed421660c0d /gcc/configure
parentd535053d38d8c9d53389cbb2f667a198f8f51830 (diff)
downloadgcc-478f60f94cd42db97807b1cda245481a436819d9.zip
gcc-478f60f94cd42db97807b1cda245481a436819d9.tar.gz
gcc-478f60f94cd42db97807b1cda245481a436819d9.tar.bz2
configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. * configure: Regenerate. From-SVN: r195486
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 a4a773ae..5730c9d 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