|
@@ -103,11 +103,12 @@ $(info done)
|
|
|
|
|
|
FEATURE_TESTS = \
|
|
|
hello \
|
|
|
+ stackprotector-all \
|
|
|
libnuma
|
|
|
|
|
|
$(foreach test,$(FEATURE_TESTS),$(call feature_check,$(test),$(test)))
|
|
|
|
|
|
-ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -fstack-protector-all,-fstack-protector-all),y)
|
|
|
+ifeq ($(feature-stackprotector-all), 1)
|
|
|
CFLAGS += -fstack-protector-all
|
|
|
endif
|
|
|
|