22 lines
727 B
Plaintext
22 lines
727 B
Plaintext
$OpenBSD: patch-configure,v 1.6 2012/11/27 08:13:15 ajacoutot Exp $
|
|
--- configure.orig Mon Nov 26 11:49:22 2012
|
|
+++ configure Tue Nov 27 08:24:19 2012
|
|
@@ -4601,7 +4601,7 @@ fi
|
|
|
|
WFLAGS=
|
|
if test "x$ac_cv_c_compiler_gnu" = xyes; then
|
|
- WFLAGS="-Wall -Wextra -Wstrict-aliasing -Wfloat-equal -Wno-comment -Wno-unused -Winit-self -Wno-missing-field-initializers"
|
|
+ WFLAGS="-Wall -Wfloat-equal -Wno-comment -Wno-unused -Winit-self -Wno-missing-field-initializers"
|
|
fi
|
|
|
|
CFLAGS="$CFLAGS $WFLAGS"
|
|
@@ -5663,7 +5663,7 @@ case "$OSTYPE" in
|
|
|
|
|
|
|
|
- LDSOOPTS="-shared -Wl,-soname,\$(LIB_FILENAME_SHARED_PAT)"
|
|
+ LDSOOPTS="-shared -fPIC -Wl,-soname,\$(LIB_FILENAME_SHARED_PAT)"
|
|
|
|
HAVE_RANLIB=yes
|
|
;;
|