summaryrefslogtreecommitdiffstats
path: root/purgatory/arch/x86_64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'purgatory/arch/x86_64/Makefile')
-rw-r--r--purgatory/arch/x86_64/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/purgatory/arch/x86_64/Makefile b/purgatory/arch/x86_64/Makefile
index 73009375..b0e277a3 100644
--- a/purgatory/arch/x86_64/Makefile
+++ b/purgatory/arch/x86_64/Makefile
@@ -23,4 +23,6 @@ x86_64_PURGATORY_SRCS += purgatory/arch/i386/console-x86.c
x86_64_PURGATORY_SRCS += purgatory/arch/i386/vga.c
x86_64_PURGATORY_SRCS += purgatory/arch/i386/pic.c
+ifneq ($(SUBARCH),x32)
x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
+endif