aboutsummaryrefslogtreecommitdiffstats
path: root/mk/efi.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/efi.mk')
-rw-r--r--mk/efi.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/efi.mk b/mk/efi.mk
index 24cca8c1..3c134450 100644
--- a/mk/efi.mk
+++ b/mk/efi.mk
@@ -40,7 +40,7 @@ CFLAGS = -I$(EFIINC) -I$(EFIINC)/$(EFI_SUBARCH) \
-I$(core)/include -I$(core)/ $(CARCHOPT) \
-I$(com32)/lib/ -I$(com32)/libutil/include -std=gnu99 \
-DELF_DEBUG -DSYSLINUX_EFI -I$(objdir) \
- $(GCCWARN) -D__COM32__ -mno-red-zone
+ $(GCCWARN) -D__COM32__ -mno-red-zone -DLDLINUX=\"$(LDLINUX)\"
# gnuefi sometimes installs these under a gnuefi/ directory, and sometimes not
CRT0 := $(shell find $(LIBDIR) -name crt0-efi-$(EFI_SUBARCH).o 2>/dev/null | tail -n1)