Commit d7759520 authored by Martin v. Löwis's avatar Martin v. Löwis

Test for --export-dynamic directly to avoid problems with binutils 2.12.

Will backport to 2.1 and 2.2.
parent 904b179b
#! /bin/sh
# From configure.in Revision: 1.310 .
# From configure.in Revision: 1.311 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
......@@ -8849,7 +8849,7 @@ then
fi;;
SunOS/5*) case $CC in
*gcc*)
if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null
if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
then
LINKFORSHARED="-Xlinker --export-dynamic"
fi;;
......
......@@ -984,7 +984,7 @@ then
fi;;
SunOS/5*) case $CC in
*gcc*)
if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null
if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
then
LINKFORSHARED="-Xlinker --export-dynamic"
fi;;
......
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