mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
18 lines
490 B
Makefile
18 lines
490 B
Makefile
# Firmware is a 32-bit target
|
|
override XEN_TARGET_ARCH = x86_32
|
|
|
|
# User-supplied CFLAGS are not useful here.
|
|
CFLAGS :=
|
|
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
CFLAGS += -Werror
|
|
|
|
# Disable PIE/SSP if GCC supports them. They can break us.
|
|
CFLAGS += $(call cc-option,$(CC),-nopie,)
|
|
CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
|
|
CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
|
|
|
|
# Extra CFLAGS suitable for an embedded type of environment.
|
|
CFLAGS += -fno-builtin -msoft-float
|