ia64/xen-unstable

view tools/firmware/Rules.mk @ 17413:29389310884f

hvmloader: Build with -Werror.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Apr 09 13:52:52 2008 +0100 (2008-04-09)
parents fcc4b7c304d9
children 2ec019301ad8
line source
1 # Firmware is a 32-bit target
2 override XEN_TARGET_ARCH = x86_32
4 # User-supplied CFLAGS are not useful here.
5 CFLAGS :=
7 include $(XEN_ROOT)/tools/Rules.mk
9 CFLAGS += -Werror
11 # Disable PIE/SSP if GCC supports them. They can break us.
12 CFLAGS += $(call cc-option,$(CC),-nopie,)
13 CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
14 CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
16 # Extra CFLAGS suitable for an embedded type of environment.
17 CFLAGS += -fno-builtin -msoft-float