2010-03-27 10:41:15 -04:00
|
|
|
$OpenBSD: patch-plugins_configure,v 1.2 2010/03/27 14:41:16 ajacoutot Exp $
|
2010-03-23 17:13:37 -04:00
|
|
|
--- plugins/configure.orig Tue Sep 22 02:57:56 2009
|
2010-03-27 10:41:15 -04:00
|
|
|
+++ plugins/configure Sat Mar 27 15:14:45 2010
|
2010-03-23 17:13:37 -04:00
|
|
|
@@ -2195,6 +2195,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"
|
2010-03-27 10:41:15 -04:00
|
|
|
@@ -6299,7 +6303,7 @@ _ACEOF
|
|
|
|
|
|
|
|
*)
|
|
|
|
STDCCFLAGS="$STDCCFLAGS -fPIC"
|
|
|
|
- LDSO='-shared -Wl,-soname,$(SONAME)'
|
|
|
|
+ LDSO='-shared -fPIC -Wl,-soname,$(SONAME)'
|
|
|
|
PLUGINEXT=so
|
|
|
|
|
|
|
|
|