Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 147876 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 147876