summaryrefslogtreecommitdiff
path: root/tools/perf/feature-tests.mak
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/feature-tests.mak')
-rw-r--r--tools/perf/feature-tests.mak8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/perf/feature-tests.mak b/tools/perf/feature-tests.mak
index 1b3342001e1c..6170fd2531b5 100644
--- a/tools/perf/feature-tests.mak
+++ b/tools/perf/feature-tests.mak
@@ -126,11 +126,3 @@ int main(void)
return 0;
}
endef
-
-# try-cc
-# Usage: option = $(call try-cc, source-to-build, cc-options)
-try-cc = $(shell sh -c \
- 'TMP="$(OUTPUT)$(TMPOUT).$$$$"; \
- echo "$(1)" | \
- $(CC) -x c - $(2) -o "$$TMP" > /dev/null 2>&1 && echo y; \
- rm -f "$$TMP"')