42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
$OpenBSD: patch-plugins_configure,v 1.4 2011/10/26 16:59:51 ajacoutot Exp $
|
|
--- plugins/configure.orig Mon Sep 20 11:04:24 2010
|
|
+++ plugins/configure Wed Oct 26 13:08:03 2011
|
|
@@ -2318,6 +2318,10 @@ fi
|
|
opal_release_flags="-O3 -DSOLARIS"
|
|
opal_debug_flags="-g -D_DEBUG -DSOLARIS"
|
|
;;
|
|
+ openbsd*)
|
|
+ opal_release_flags=""
|
|
+ opal_debug_flags="-g3 -ggdb -O0 -D_DEBUG"
|
|
+ ;;
|
|
*)
|
|
opal_release_flags="-Os"
|
|
opal_debug_flags="-g3 -ggdb -O0 -D_DEBUG"
|
|
@@ -6530,7 +6534,7 @@ _ACEOF
|
|
|
|
*)
|
|
STDCCFLAGS="$STDCCFLAGS -fPIC"
|
|
- LDSO='-shared -Wl,-soname,$(SONAME)'
|
|
+ LDSO='-shared -fPIC -Wl,-soname,$(SONAME)'
|
|
PLUGINEXT=so
|
|
|
|
|
|
@@ -7331,7 +7335,7 @@ cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
|
|
- #include <gsm/gsm.h>
|
|
+ #include <gsm.h>
|
|
|
|
int
|
|
main ()
|
|
@@ -7504,7 +7508,7 @@ cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
|
|
- #include <gsm/gsm.h>
|
|
+ #include <gsm.h>
|
|
|
|
int
|
|
main ()
|