f91ac98595
ok laurent@ (MAINTAINER)
25 lines
553 B
Plaintext
25 lines
553 B
Plaintext
$OpenBSD: patch-configure,v 1.5 2011/03/15 19:40:40 jasper Exp $
|
|
|
|
-Wl,--as-needed fucks with -pthread.
|
|
|
|
--- configure.orig Tue Mar 8 18:09:51 2011
|
|
+++ configure Tue Mar 8 18:09:54 2011
|
|
@@ -13996,7 +13996,7 @@ esac
|
|
|
|
|
|
|
|
-
|
|
+if false; then
|
|
CFLAGS_save="${CFLAGS}"
|
|
CFLAGS="${CFLAGS} -Wl,--as-needed"
|
|
|
|
@@ -14038,7 +14038,7 @@ ac_cpp='$CPP $CPPFLAGS'
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
-
|
|
+fi
|
|
|
|
|
|
|