View | Details | Raw Unified
Collapse All | Expand All

(-) tools/firmware/vmxassist/Makefile (-4 / +4 lines)
 Lines 19-25    Link Here 
#
#
# External CFLAGS can do more harm than good.
# External CFLAGS can do more harm than good.
CFLAGS := -nopie -fno-stack-protector -fno-stack-protector-all
CFLAGS :=
XEN_TARGET_ARCH = x86_32
XEN_TARGET_ARCH = x86_32
XEN_ROOT = ../../..
XEN_ROOT = ../../..
 Lines 34-40    Link Here 
OBJECTS	 = hvmloader.o acpi_madt.o 
OBJECTS	 = hvmloader.o acpi_madt.o 
# Disable PIE/SSP if GCC supports them. They can break us.
# Disable PIE/SSP if GCC supports them. They can break us.
CFLAGS  += $(call test-gcc-flag,$(CC),-nopie)
CFLAGS  += $(call test-gcc-flag,$(CC),-fno-pie)
CFLAGS  += $(call test-gcc-flag,$(CC),-fno-stack-protector)
CFLAGS  += $(call test-gcc-flag,$(CC),-fno-stack-protector)
CFLAGS  += $(call test-gcc-flag,$(CC),-fno-stack-protector-all)
CFLAGS  += $(call test-gcc-flag,$(CC),-fno-stack-protector-all)
 Lines 19-25    Link Here 
#
#
# External CFLAGS can do more harm than good.
# External CFLAGS can do more harm than good.
CFLAGS := -nopie -fno-stack-protector -fno-stack-protector-all
CFLAGS :=
XEN_TARGET_ARCH = x86_32
XEN_TARGET_ARCH = x86_32
XEN_ROOT = ../../..
XEN_ROOT = ../../..
 Lines 32-38    Link Here 
XENINC=-I$(XEN_ROOT)/tools/libxc
XENINC=-I$(XEN_ROOT)/tools/libxc
# Disable PIE/SSP if GCC supports them. They can break us.
# Disable PIE/SSP if GCC supports them. They can break us.
CFLAGS  += $(call test-gcc-flag,$(CC),-nopie)
CFLAGS  += $(call test-gcc-flag,$(CC),-fno-pie)
CFLAGS  += $(call test-gcc-flag,$(CC),-fno-stack-protector)
CFLAGS  += $(call test-gcc-flag,$(CC),-fno-stack-protector)
CFLAGS  += $(call test-gcc-flag,$(CC),-fno-stack-protector-all)
CFLAGS  += $(call test-gcc-flag,$(CC),-fno-stack-protector-all)