aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/minios.mk
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-10-09 16:06:50 +0100
committerKeir Fraser <keir@xensource.com>2007-10-09 16:06:50 +0100
commit85cb55a8869c26f8f762060159785c63e2ca1652 (patch)
treef7e2df9e6c0e8450305908f19b163b31b9efa628 /extras/mini-os/minios.mk
parent061078be62fdb93e8c0fefa013f23f8248a962cb (diff)
downloadxen-85cb55a8869c26f8f762060159785c63e2ca1652.tar.gz
xen-85cb55a8869c26f8f762060159785c63e2ca1652.tar.bz2
xen-85cb55a8869c26f8f762060159785c63e2ca1652.zip
MiniOS: no-stack-protector added to the cflags if needed,
and the default domain config file fixed. From: Grzegorz Milos <gm281@cam.ac.uk> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'extras/mini-os/minios.mk')
-rw-r--r--extras/mini-os/minios.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/mini-os/minios.mk b/extras/mini-os/minios.mk
index 5f63e61427..5f81bb7d77 100644
--- a/extras/mini-os/minios.mk
+++ b/extras/mini-os/minios.mk
@@ -7,6 +7,7 @@ debug = y
# Define some default flags.
# NB. '-Wcast-qual' is nasty, so I omitted it.
DEF_CFLAGS := -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format
+DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline
DEF_CFLAGS += -D__XEN_INTERFACE_VERSION__=$(XEN_INTERFACE_VERSION)