Skip to content
Browse files

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>
  • Loading branch information...
1 parent 56e35df commit 278a3bb55328829d22900890f1c0ea027eb95724 Keir Fraser committed
Showing with 2 additions and 1 deletion.
  1. +1 −1 domain_config
  2. +1 −0 minios.mk
View
2 domain_config
@@ -8,7 +8,7 @@
#----------------------------------------------------------------------------
# Kernel image file.
-kernel = "mini-os.elf"
+kernel = "mini-os.gz"
# Initial memory allocation (in megabytes) for the new domain.
memory = 32
View
1 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)

0 comments on commit 278a3bb

Please sign in to comment.
Something went wrong with that request. Please try again.