diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-06-20 14:35:17 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-06-20 14:35:17 +0100 |
commit | 95e63ba60b1ab700fe7f284e1c0961ed229751e2 (patch) | |
tree | e1beab44ab8e9581869c7f93575509d8ba48163a | |
parent | 28efc357c97933160476b551f1376b30befadabc (diff) | |
download | syslinux-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>
-rw-r--r-- | mk/efi.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |