summaryrefslogtreecommitdiffstats
path: root/jit-test.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-22 01:30:07 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-22 01:33:25 (EDT)
commit8cb96115e5ae4f7c7559c4bd76c464b82a289d0a (patch)
tree7ac1281fd8264bec6efec4f4a51d36ac7a6f60d3 /jit-test.sh
parent6baa7b4a417c1c3097226037700d0241e8268a17 (diff)
build: Add "build" target.
Diffstat (limited to 'jit-test.sh')
-rwxr-xr-xjit-test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/jit-test.sh b/jit-test.sh
new file mode 100755
index 0000000..bcdfc27
--- /dev/null
+++ b/jit-test.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if ${CC} -c -o/dev/null "${0%.sh}.c"; then
+ printf '--enable-jit\n'
+fi
+exit 0