mirror of
https://github.com/ipxe/ipxe
synced 2025-12-09 02:40:27 +03:00
[linux] Enable compiler warnings when building the linux_api.o object
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -29,9 +29,13 @@ NON_AUTO_MEDIA = linux
|
||||
# Compiler flags for building host API wrapper
|
||||
#
|
||||
LINUX_CFLAGS += -Os -idirafter include -DSYMBOL_PREFIX=$(SYMBOL_PREFIX)
|
||||
LINUX_CFLAGS += -Wall -W
|
||||
ifneq ($(SYSROOT),)
|
||||
LINUX_CFLAGS += --sysroot=$(SYSROOT)
|
||||
endif
|
||||
ifneq ($(NO_WERROR),1)
|
||||
LINUX_CFLAGS += -Werror
|
||||
endif
|
||||
|
||||
# Check for libslirp
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user