ifolder/dev-db/libflaim/files/libflaim-pic-ldconfig-fortify.patch
geos_one 87b62c4f76 dev-db/libflaim: move back to unstable version it's better supported by ifolder
(Portage version: 2.2.0_alpha26-r1/svn/Linux x86_64)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@2849 6952d904-891a-0410-993b-d76249ca496b
2011-03-05 09:30:52 +00:00

29 lines
749 B
Diff

--- libflaim-4.9.966.orig/Makefile
+++ libflaim-4.9.966/Makefile
@@ -841,7 +841,7 @@
# Compiler definitions and flags
-ccflags =
+ccflags = -fPIC
ccdefs =
ifeq ($(target_word_size),64)
@@ -935,7 +935,7 @@
static_lib_suffix = .a
shared_lib_suffix = .so.$(shared_lib_version)
- compiler = g++
+ compiler = g++ -U_FORTIFY_SOURCE
exe_linker = g++
shared_linker = g++
@@ -1880,7 +1880,6 @@
cd $(lib_install_dir); ln -fs $(lib_prefix)$(project_name).so.$(so_current).$(so_revision) $(lib_prefix)$(project_name).so.$(so_current)
endif
cd $(lib_install_dir); ln -fs $(lib_prefix)$(project_name).so.$(so_current) $(lib_prefix)$(project_name).so
- -ldconfig $(lib_install_dir)
$(ec)$(gprintf) "Installation complete.\n"
endif