Fix `configure' for OpenBSD

"-rdynamic" doesn't work with GCC 4.7 on OpenBSD: "cc: error:
unrecognized command line option '-rdynamic'". The switch isn't
necessary because it is only a wrapper to "-Wl,--export-dynamic".
Look GCC bug 37454.
This commit is contained in:
Juan Francisco Cantero Hurtado 2013-03-01 14:53:26 -07:00 committed by Matthew Flatt
parent 174a80f078
commit 292c81a826
2 changed files with 2 additions and 2 deletions

2
src/configure vendored
View File

@ -4030,7 +4030,7 @@ case "$host_os" in
try_kqueue_syscall=yes
;;
openbsd*)
LIBS="$LIBS -rdynamic -Wl,--export-dynamic"
LIBS="$LIBS -Wl,--export-dynamic"
enable_pthread=yes
try_kqueue_syscall=yes
;;

View File

@ -543,7 +543,7 @@ case "$host_os" in
try_kqueue_syscall=yes
;;
openbsd*)
LIBS="$LIBS -rdynamic -Wl,--export-dynamic"
LIBS="$LIBS -Wl,--export-dynamic"
enable_pthread=yes
try_kqueue_syscall=yes
;;