summaryrefslogtreecommitdiff
path: root/sys/boot/i386/libi386/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/libi386/Makefile')
-rw-r--r--sys/boot/i386/libi386/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/i386/libi386/Makefile b/sys/boot/i386/libi386/Makefile
index b084733f81415..3430befb4ff2e 100644
--- a/sys/boot/i386/libi386/Makefile
+++ b/sys/boot/i386/libi386/Makefile
@@ -33,6 +33,10 @@ CFLAGS+= -DDISK_DEBUG
CFLAGS+= -DSMBIOS_SERIAL_NUMBERS
.endif
+.if !defined(LOADER_NO_GPT_SUPPORT)
+CFLAGS+= -DLOADER_GPT_SUPPORT
+.endif
+
# Include simple terminal emulation (cons25-compatible)
CFLAGS+= -DTERM_EMU