summaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-02 16:35:10 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-02 16:35:10 +0000
commit1301d11086d21b258bcc32c416967a18216cca71 (patch)
tree578e645522386c9365c3bdf724df63128c47cc07 /gcc/configure
parent14bd221c4f84ec19178bda400f5b459a03a7b331 (diff)
downloadgcc-1301d11086d21b258bcc32c416967a18216cca71.tar.gz
2009-04-02 H.J. Lu <hongjiu.lu@intel.com>
* configure.ac: Support -Bstatic/-Bdynamic for linker version > 2. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145457 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure
index 190dd3c45f7..dcf115c1490 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -22196,7 +22196,7 @@ echo "$as_me:$LINENO: checking linker -Bstatic/-Bdynamic option" >&5
echo $ECHO_N "checking linker -Bstatic/-Bdynamic option... $ECHO_C" >&6
gcc_cv_ld_static_dynamic=no
if test $in_tree_ld = yes ; then
- if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10; then
+ if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2; then
gcc_cv_ld_static_dynamic=yes
fi
elif test x$gcc_cv_ld != x; then