diff options
author | 2009-07-22 20:22:38 +0000 | |
---|---|---|
committer | 2009-07-22 20:22:38 +0000 | |
commit | dea2cdf2b632346a0dead3e53e0154314516472f (patch) | |
tree | 8a33749a32eb9ce345fd617ccb7518c363088db9 | |
parent | Make sure the irq numbers for the O2 event counters match the interrupt lines (diff) | |
download | wireguard-openbsd-dea2cdf2b632346a0dead3e53e0154314516472f.tar.xz wireguard-openbsd-dea2cdf2b632346a0dead3e53e0154314516472f.zip |
Fix the configure test for symbol visibility support; the current test
tries to check for an old, known to be flawed, ld version, but the in-tree
ld causes a false positive.
-rwxr-xr-x | gnu/usr.bin/gcc/gcc/configure | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/configure.in | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/configure b/gnu/usr.bin/gcc/gcc/configure index 1eff0613db0..89ce6cae24d 100755 --- a/gnu/usr.bin/gcc/gcc/configure +++ b/gnu/usr.bin/gcc/gcc/configure @@ -7274,6 +7274,7 @@ elif test x$gcc_cv_as != x; then fi rm -f conftest.s conftest.o conftest.nm1 conftest.nm2 + if false; then # GNU LD versions before 2.12.1 have buggy support for STV_HIDDEN. # This is irritatingly difficult to feature test for. Look for # the date string after the version number. @@ -7307,6 +7308,7 @@ elif test x$gcc_cv_as != x; then # non-GNU linkers don't seem to support .hidden yet gcc_cv_as_hidden=no fi + fi fi if test x"$gcc_cv_as_hidden" = xyes; then cat >> confdefs.h <<\EOF diff --git a/gnu/usr.bin/gcc/gcc/configure.in b/gnu/usr.bin/gcc/gcc/configure.in index d3f0484020b..10748de04f0 100644 --- a/gnu/usr.bin/gcc/gcc/configure.in +++ b/gnu/usr.bin/gcc/gcc/configure.in @@ -1680,6 +1680,7 @@ elif test x$gcc_cv_as != x; then fi rm -f conftest.s conftest.o conftest.nm1 conftest.nm2 + if false; then # GNU LD versions before 2.12.1 have buggy support for STV_HIDDEN. # This is irritatingly difficult to feature test for. Look for # the date string after the version number. @@ -1715,6 +1716,7 @@ changequote([,])dnl # non-GNU linkers don't seem to support .hidden yet gcc_cv_as_hidden=no fi + fi fi if test x"$gcc_cv_as_hidden" = xyes; then AC_DEFINE(HAVE_GAS_HIDDEN, 1, |