|
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 |
|