diff --git a/tests/kvm-unit-tests/x86/Makefile.common b/tests/kvm-unit-tests/x86/Makefile.common index e96812bf..73069d86 100644 --- a/tests/kvm-unit-tests/x86/Makefile.common +++ b/tests/kvm-unit-tests/x86/Makefile.common @@ -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