aboutsummaryrefslogtreecommitdiffstats
path: root/Config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Config.mk')
-rw-r--r--Config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Config.mk b/Config.mk
index 6505697df1..6cb37ca6b9 100644
--- a/Config.mk
+++ b/Config.mk
@@ -84,7 +84,7 @@ PYTHON_PREFIX_ARG ?= --prefix="$(PREFIX)"
#
# Usage: cflags-y += $(call cc-option,$(CC),-march=winchip-c6,-march=i586)
cc-option = $(shell if test -z "`echo 'void*p=1;' | \
- $(1) $(2) -S -o /dev/null -xc - 2>&1 | grep -- $(2)`"; \
+ $(1) $(2) -S -o /dev/null -xc - 2>&1 | grep -- $(2) -`"; \
then echo "$(2)"; else echo "$(3)"; fi ;)
# cc-option-add: Add an option to compilation flags, but only if supported.