- use -fPIC everywhere to build the plugins
- change an occurance of fpic to fPIC (linking)
This commit is contained in:
parent
8fb1c96b6f
commit
b0683b9ccf
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-configure_in,v 1.3 2003/05/14 11:53:20 couderc Exp $
|
||||
--- configure.in.orig Wed May 14 13:35:31 2003
|
||||
+++ configure.in Wed May 14 13:36:15 2003
|
||||
$OpenBSD: patch-configure_in,v 1.4 2004/06/13 04:02:36 pvalchev Exp $
|
||||
--- configure.in.orig 2002-02-02 14:13:45.000000000 -0700
|
||||
+++ configure.in 2004-06-12 21:59:35.000000000 -0600
|
||||
@@ -31,7 +31,7 @@ dnl some $host based configuration
|
||||
dnl
|
||||
EXPORT_FLAG=""
|
||||
@ -10,3 +10,12 @@ $OpenBSD: patch-configure_in,v 1.3 2003/05/14 11:53:20 couderc Exp $
|
||||
EXPORT_FLAG="-export-dynamic"
|
||||
;;
|
||||
esac
|
||||
@@ -42,7 +42,7 @@ solaris*)
|
||||
SHARED_FLAG="-Wl,-G"
|
||||
;;
|
||||
openbsd*)
|
||||
- SHARED_FLAG="-shared -fpic"
|
||||
+ SHARED_FLAG="-shared -fPIC"
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(SHARED_FLAG)
|
||||
|
11
x11/golem/patches/patch-plugins_Makefile_plugin_in
Normal file
11
x11/golem/patches/patch-plugins_Makefile_plugin_in
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-plugins_Makefile_plugin_in,v 1.1 2004/06/13 04:02:36 pvalchev Exp $
|
||||
--- plugins/Makefile.plugin.in.orig 2004-06-12 21:58:41.000000000 -0600
|
||||
+++ plugins/Makefile.plugin.in 2004-06-12 21:59:11.000000000 -0600
|
||||
@@ -1,6 +1,6 @@
|
||||
# plugin makefiles include this
|
||||
CC= @CC@
|
||||
-CFLAGS= @CFLAGS@ -I../../src/ -I../include/ @X_CFLAGS@
|
||||
+CFLAGS= @CFLAGS@ -I../../src/ -I../include/ @X_CFLAGS@ -fPIC
|
||||
CFLAGS+= @DEFS@
|
||||
LDFLAGS= @SHARED_FLAG@
|
||||
|
Loading…
Reference in New Issue
Block a user