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
|
||
|
|