X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=bios%2Fvmxassist%2FMakefile;h=ededccd8e06ea0e76118bce42afba20f0a26badd;hb=9f239e337227351e9440d9d3b174bb37942ceebe;hp=6959a282e575fae5786240757fc625f3178d8523;hpb=d34450b1e6fe3c2e1295c268c1722c669ba8d545;p=palacios.git diff --git a/bios/vmxassist/Makefile b/bios/vmxassist/Makefile index 6959a28..ededccd 100644 --- a/bios/vmxassist/Makefile +++ b/bios/vmxassist/Makefile @@ -28,9 +28,9 @@ TEXTADDR=0x000D0000 DEFINES=-DDEBUG -DTEXTADDR=$(TEXTADDR) # 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-stack-protector) -CFLAGS += $(call test-gcc-flag,$(CC),-fno-stack-protector-all) +CFLAGS += $(call cc-option,$(CC),-nopie,) +CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) +CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,) CPP = cpp -P OBJCOPY = objcopy -p -O binary -R .note -R .comment -R .bss -S --gap-fill=0