From 6b1ce5497dcb3becd432853e1666a0f01abe8829 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 13 Jan 2009 08:59:49 +0000 Subject: build: Define cc-option-add to immediately add options to CFLAGS without deferring the test execution of CC. This avoids extra executions of CC every time CFLAGS is expanded. Signed-off-by: Keir Fraser --- tools/tests/blowfish.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/tests') diff --git a/tools/tests/blowfish.mk b/tools/tests/blowfish.mk index 203eb50790..ae7888267d 100644 --- a/tools/tests/blowfish.mk +++ b/tools/tests/blowfish.mk @@ -5,9 +5,9 @@ CFLAGS = include $(XEN_ROOT)/tools/Rules.mk # Disable PIE/SSP if GCC supports them. They can break us. -CFLAGS += $(call cc-option,$(CC),-nopie,) -CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) -CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,) +$(call cc-option-add,CFLAGS,CC,-nopie) +$(call cc-option-add,CFLAGS,CC,-fno-stack-protector) +$(call cc-option-add,CFLAGS,CC,-fno-stack-protector-all) CFLAGS += -fno-builtin -msoft-float -- cgit v1.2.3