aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-06-20 14:35:17 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-06-20 14:35:17 +0100
commit95e63ba60b1ab700fe7f284e1c0961ed229751e2 (patch)
treee1beab44ab8e9581869c7f93575509d8ba48163a /mk
parent28efc357c97933160476b551f1376b30befadabc (diff)
downloadsyslinux-95e63ba60b1ab700fe7f284e1c0961ed229751e2.tar.gz
syslinux-95e63ba60b1ab700fe7f284e1c0961ed229751e2.tar.xz
syslinux-95e63ba60b1ab700fe7f284e1c0961ed229751e2.zip
mk: stop complaining about unused parameters
Now that we've got the firmware abstraction, many backend functions don't use all of their parameters, and it isn't necessarily something we want to warn about all the time. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/efi.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/efi.mk b/mk/efi.mk
index 24ac811f..a0c33ac4 100644
--- a/mk/efi.mk
+++ b/mk/efi.mk
@@ -41,7 +41,8 @@ CFLAGS = -I$(EFIINC) -I$(EFIINC)/$(EFI_SUBARCH) \
-I$(com32)/lib/ -I$(com32)/libutil/include -std=gnu99 \
-DELF_DEBUG -DSYSLINUX_EFI -I$(objdir) \
$(GCCWARN) -D__COM32__ -mno-red-zone \
- -DLDLINUX=\"$(LDLINUX)\" -fvisibility=hidden
+ -DLDLINUX=\"$(LDLINUX)\" -fvisibility=hidden \
+ -Wno-unused-parameter
# 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)