aboutsummaryrefslogtreecommitdiff
path: root/x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64')
-rw-r--r--x86_64/Makefrag.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/x86_64/Makefrag.am b/x86_64/Makefrag.am
index 2bbed986..a3a52bf1 100644
--- a/x86_64/Makefrag.am
+++ b/x86_64/Makefrag.am
@@ -236,6 +236,10 @@ gnumach_LINKFLAGS += \
-T '$(srcdir)'/x86_64/ldscript
endif
+# We do not support or need position-independent
+AM_CFLAGS += \
+ -no-pie -fno-PIE -fno-pie -fno-pic
+
AM_CFLAGS += -D_START_MAP=$(_START_MAP) \
-DKERNEL_MAP_BASE=$(KERNEL_MAP_BASE)
AM_CCASFLAGS += -D_START_MAP=$(_START_MAP) \