Fix kvm-unit-test: undefined reference to __stack_chk_fail
This commit is contained in:
parent
1b6c1091ce
commit
befddacccf
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ $(libcflat): CFLAGS += -ffreestanding -I $(SRCDIR)/lib -I lib
|
|||
|
||||
COMMON_CFLAGS += -m$(bits)
|
||||
COMMON_CFLAGS += -O1
|
||||
COMMON_CFLAGS += -fno-stack-protector
|
||||
|
||||
# stack.o relies on frame pointers.
|
||||
KEEP_FRAME_POINTER := y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue