summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9298d6f1..1939ff55 100644
--- a/Makefile
+++ b/Makefile
@@ -469,6 +469,12 @@ conftest.yacc:
conftest.ccver:
$(V)$(TXR_CC) --version
+.PHONY: conftest.darwin
+conftest.darwin:
+ $(V)if echo | $(CC) -dM -E - | grep -s __APPLE__ > /dev/null 2>&1 ; then \
+ echo yes ; \
+ fi
+
.PHONY: conftest.clean
conftest.clean:
$(V)rm -f conftest$(EXE) conftest.[co] \