diff options
author | Christoph Mende <angelos@gentoo.org> | 2007-07-15 13:13:16 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2007-07-15 13:13:16 +0000 |
commit | 1e4d93da4faf81be417ab90a8020f8e36c2e94dc (patch) | |
tree | 731d37d143ce5c8880aa175791fb93abc9dd7869 /dev-libs/libpcre/files | |
parent | alpha/ia64/x86 stable wrt security #183338 (diff) | |
download | gentoo-2-1e4d93da4faf81be417ab90a8020f8e36c2e94dc.tar.gz gentoo-2-1e4d93da4faf81be417ab90a8020f8e36c2e94dc.tar.bz2 gentoo-2-1e4d93da4faf81be417ab90a8020f8e36c2e94dc.zip |
Added -fPIC for shared libraries, thanks to Simon Cooper (Bug #182652)
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'dev-libs/libpcre/files')
-rw-r--r-- | dev-libs/libpcre/files/pcre-7.1-pic.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/libpcre/files/pcre-7.1-pic.patch b/dev-libs/libpcre/files/pcre-7.1-pic.patch new file mode 100644 index 000000000000..3e1e3136592b --- /dev/null +++ b/dev-libs/libpcre/files/pcre-7.1-pic.patch @@ -0,0 +1,26 @@ +--- pcre-7.1/Makefile.am.old 2007-04-18 10:07:56.000000000 +0100 ++++ pcre-7.1/Makefile.am 2007-06-20 10:49:01.932157547 +0100 +@@ -194,6 +194,7 @@ + # pcre_chartables.c, used unless --enable-rebuild-chartables is specified. + EXTRA_DIST += pcre_printint.src pcre_chartables.c.dist + ++libpcre_la_CFLAGS = -fPIC -DPIC + libpcre_la_LDFLAGS = $(EXTRA_LIBPCRE_LDFLAGS) + + CLEANFILES += pcre_chartables.c +@@ -202,6 +203,7 @@ + lib_LTLIBRARIES += libpcreposix.la + libpcreposix_la_SOURCES = \ + pcreposix.c ++libpcreposix_la_CFLAGS = -fPIC -DPIC + libpcreposix_la_LDFLAGS = $(EXTRA_LIBPCREPOSIX_LDFLAGS) + libpcreposix_la_LIBADD = libpcre.la + +@@ -213,6 +215,7 @@ + pcrecpp.cc \ + pcre_scanner.cc \ + pcre_stringpiece.cc ++libpcrecpp_la_CXXCLAGS = -fPIC -DPIC + libpcrecpp_la_LDFLAGS = $(EXTRA_LIBPCRECPP_LDFLAGS) + libpcrecpp_la_LIBADD = libpcre.la + |