debuggers.hg

view tools/firmware/Rules.mk @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents 27e9687c5b3d
children 2b768d52bc7f
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 ifneq ($(debug),y)
10 CFLAGS += -DNDEBUG
11 endif
13 CFLAGS += -Werror
15 # Disable PIE/SSP if GCC supports them. They can break us.
16 $(call cc-option-add,CFLAGS,CC,-nopie)
17 $(call cc-option-add,CFLAGS,CC,-fno-stack-protector)
18 $(call cc-option-add,CFLAGS,CC,-fno-stack-protector-all)
20 # Extra CFLAGS suitable for an embedded type of environment.
21 CFLAGS += -fno-builtin -msoft-float