diff options
author | H. Peter Anvin <hpa@zytor.com> | 2016-02-09 18:13:20 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2016-02-09 18:13:20 -0800 |
commit | c7e6d511df730b26336ea2c24020a058aad6be1d (patch) | |
tree | 2f85c6f863221d0be304074dc36ad8faf20d5119 /mk/lib.mk | |
parent | f2f897a1762fab84d2905f32b1c15dd7b42abb56 (diff) | |
download | syslinux-c7e6d511df730b26336ea2c24020a058aad6be1d.tar.gz |
Makefile: make the handling of firmware selection a little saner
Clean up the handling of firmware selection inside the Makefiles.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'mk/lib.mk')
-rw-r--r-- | mk/lib.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ WARNFLAGS = $(GCCWARN) -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winl CFLAGS = $(OPTFLAGS) $(REQFLAGS) $(WARNFLAGS) $(LIBFLAGS) -ifdef EFI_BUILD +ifeq ($(FWCLASS),EFI) CFLAGS += -mno-red-zone else CFLAGS += -mregparm=3 -DREGPARM=3 |