summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-04-17 16:45:14 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-19 15:53:53 +0200
commit338c6d7cf278a3f694ab939f0e4254f0e81e98bb (patch)
tree6250c9a899d570a8cdd505dbbf3238a066d6c37d
parent5ffe4283f7147a97a403351aab2f5c16fb2f3d68 (diff)
downloadbuildroot-novena-338c6d7cf278a3f694ab939f0e4254f0e81e98bb.tar.gz
buildroot-novena-338c6d7cf278a3f694ab939f0e4254f0e81e98bb.zip
Remove cc-option: not used anywhere
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 3a09417ad..55d552b7b 100644
--- a/Makefile
+++ b/Makefile
@@ -178,13 +178,6 @@ BUILD_DIR:=$(BASE_DIR)/build
ifeq ($(BR2_HAVE_DOT_CONFIG),y)
-# cc-option
-# Usage: cflags-y+=$(call cc-option, -march=winchip-c6, -march=i586)
-# sets -march=winchip-c6 if supported else falls back to -march=i586
-# without checking the latter.
-cc-option=$(shell if $(TARGET_CC) $(TARGET_CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
- > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
-
#############################################################
#
# Hide troublesome environment variables from sub processes