Blame SOURCES/add-fPIC-flag.patch

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