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:
parent
174a80f078
commit
292c81a826
2
src/configure
vendored
2
src/configure
vendored
|
@ -4030,7 +4030,7 @@ case "$host_os" in
|
||||||
try_kqueue_syscall=yes
|
try_kqueue_syscall=yes
|
||||||
;;
|
;;
|
||||||
openbsd*)
|
openbsd*)
|
||||||
LIBS="$LIBS -rdynamic -Wl,--export-dynamic"
|
LIBS="$LIBS -Wl,--export-dynamic"
|
||||||
enable_pthread=yes
|
enable_pthread=yes
|
||||||
try_kqueue_syscall=yes
|
try_kqueue_syscall=yes
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -543,7 +543,7 @@ case "$host_os" in
|
||||||
try_kqueue_syscall=yes
|
try_kqueue_syscall=yes
|
||||||
;;
|
;;
|
||||||
openbsd*)
|
openbsd*)
|
||||||
LIBS="$LIBS -rdynamic -Wl,--export-dynamic"
|
LIBS="$LIBS -Wl,--export-dynamic"
|
||||||
enable_pthread=yes
|
enable_pthread=yes
|
||||||
try_kqueue_syscall=yes
|
try_kqueue_syscall=yes
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user