87b62c4f76
(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
29 lines
749 B
Diff
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
|
|
|