Commit 478f60f9 by Michael Haubenwallner Committed by David Edelsohn

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
parent d535053d
2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
* configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
* configure: Regenerate.
2013-01-25 Jakub Jelinek <jakub@redhat.com> 2013-01-25 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/56098 PR tree-optimization/56098
......
...@@ -23650,6 +23650,12 @@ elif test x$gcc_cv_ld != x; then ...@@ -23650,6 +23650,12 @@ elif test x$gcc_cv_ld != x; then
gcc_cv_ld_static_dynamic=yes gcc_cv_ld_static_dynamic=yes
else else
case "$target" in 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. # HP-UX ld uses -a flags to select between shared and archive.
*-*-hpux*) *-*-hpux*)
if test x"$gnu_ld" = xno; then if test x"$gnu_ld" = xno; then
......
...@@ -3317,6 +3317,12 @@ elif test x$gcc_cv_ld != x; then ...@@ -3317,6 +3317,12 @@ elif test x$gcc_cv_ld != x; then
gcc_cv_ld_static_dynamic=yes gcc_cv_ld_static_dynamic=yes
else else
case "$target" in 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. # HP-UX ld uses -a flags to select between shared and archive.
*-*-hpux*) *-*-hpux*)
if test x"$gnu_ld" = xno; then if test x"$gnu_ld" = xno; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment