aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-11-15 12:48:34 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-11-15 13:06:48 +0000
commit4eb06d95d882530375a82edb81b78bf5967b9ea3 (patch)
tree116ac58af3310c3479d1a390c453d9e0d79d4051 /mk
parent813388b889a38d756ce2709148244ba7cb354003 (diff)
downloadsyslinux-4eb06d95d882530375a82edb81b78bf5967b9ea3.tar.gz
syslinux-4eb06d95d882530375a82edb81b78bf5967b9ea3.tar.xz
syslinux-4eb06d95d882530375a82edb81b78bf5967b9ea3.zip
mk: Add -fPIC for x86_64 to embedded.mk
Building for x86_64 requires that the object files be compiled with -fPIC, so delete the comment in embedded.mk. With this change we can remove lib.mk and efi.mk from core/Makefile. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/embedded.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/embedded.mk b/mk/embedded.mk
index 16b2a52b..a4de9ab3 100644
--- a/mk/embedded.mk
+++ b/mk/embedded.mk
@@ -32,7 +32,7 @@ ifeq ($(ARCH),x86_64)
GCCOPT += $(call gcc_ok,-march=x86-64)
#let preferred-stack-boundary and incoming-stack-boundary be default(=4)
# Somewhere down the line ld barfs requiring -fPIC
- #GCCOPT += $(call gcc_ok,-fPIC)
+ GCCOPT += $(call gcc_ok,-fPIC)
endif
GCCOPT += $(call gcc_ok,-ffreestanding,)
GCCOPT += $(call gcc_ok,-fno-stack-protector,)