summaryrefslogtreecommitdiffstats
path: root/script/identity_cc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'script/identity_cc.sh')
-rwxr-xr-xscript/identity_cc.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/script/identity_cc.sh b/script/identity_cc.sh
new file mode 100755
index 0000000..8b5118e
--- /dev/null
+++ b/script/identity_cc.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+#An "identity cross-execute" script
+#It can be used for testing the cross-build infrastructure
+#as follows:
+#./configure --cross-compile --cross-execute=./script/identity_cc.sh
+#If the build is actually a native build, then the configuration
+#result should be just like running ./configure without --cross-compile.
+
+eval "$@"