From: varinder.p Date: Mon, 4 Apr 2022 05:36:44 +0000 (+0530) Subject: Disable fcf-protection flag X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F273412%2F1;p=sdk%2Femulator%2Fqemu.git Disable fcf-protection flag Change-Id: I9ca32afc278d26237947e75c2c68038bd436647d Signed-off-by: varinder.p --- diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile index 542bb6bf87..6fde2bfe35 100644 --- a/pc-bios/optionrom/Makefile +++ b/pc-bios/optionrom/Makefile @@ -13,7 +13,7 @@ $(call set-vpath, $(SRC_PATH)/pc-bios/optionrom) ifeq ($(lastword $(filter -O%, -O0 $(CFLAGS))),-O0) override CFLAGS += -O2 endif -override CFLAGS += -march=i486 -fcf-protection=none +override CFLAGS += -march=i486 #-fcf-protection=none #Enable this flag for ubuntu impish or higher gcc version # Drop -fstack-protector and the like QEMU_CFLAGS := $(filter -W%, $(QEMU_CFLAGS)) $(CFLAGS_NOPIE) -ffreestanding