Blame SOURCES/add-fPIC-flag.patch

dac0b3
diff --git a/Makerules/Target.LINUX.GNU.X86_64 b/Makerules/Target.LINUX.GNU.X86_64
dac0b3
index 5a852b3..194a8b2 100755
dac0b3
--- a/Makerules/Target.LINUX.GNU.X86_64
dac0b3
+++ b/Makerules/Target.LINUX.GNU.X86_64
dac0b3
@@ -77,8 +77,8 @@ SHLIB_SONAME=$(notdir $(CMD_TARGETS_SHLIB))
dac0b3
 # ----------------------------
dac0b3
 # -fcheck-new does the opposite of what the manual implies.
dac0b3
 # -fcheck-new DISABLES the run-time test of return value from new
dac0b3
-CMACH		= -pipe -DTARGET_CPU_FAMILY_X86 -Wall -Werror=format-security -D__X86_64__ -DCPU_LE -m64 -fno-strict-aliasing -fstack-protector
dac0b3
-CCMACH		= -pipe -DTARGET_CPU_FAMILY_X86 -Wall -Werror=format-security -D__X86_64__ -DCPU_LE -m64 -fno-strict-aliasing -fstack-protector -fcheck-new -Wno-ctor-dtor-privacy
dac0b3
+CMACH		= -fPIC -pipe -DTARGET_CPU_FAMILY_X86 -Wall -Werror=format-security -D__X86_64__ -DCPU_LE -m64 -fno-strict-aliasing -fstack-protector
dac0b3
+CCMACH		= -fPIC -pipe -DTARGET_CPU_FAMILY_X86 -Wall -Werror=format-security -D__X86_64__ -DCPU_LE -m64 -fno-strict-aliasing -fstack-protector -fcheck-new -Wno-ctor-dtor-privacy
dac0b3
 ifeq ($(shell expr $(GCC_MAJOR_VERSION) \>= 7), 1)
dac0b3
 ifeq ($(shell expr $(GCC_MINOR_VERSION) \>= 0), 1)
dac0b3
 CMACH+= -std=gnu90 -Wno-misleading-indentation -Wno-format-truncation