aboutsummaryrefslogtreecommitdiffstats
path: root/community/llvm3.7/config.guess.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/llvm3.7/config.guess.patch')
-rw-r--r--community/llvm3.7/config.guess.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/llvm3.7/config.guess.patch b/community/llvm3.7/config.guess.patch
new file mode 100644
index 0000000000..d6dc20b84e
--- /dev/null
+++ b/community/llvm3.7/config.guess.patch
@@ -0,0 +1,13 @@
+--- a/autoconf/config.guess 2016-08-04 01:13:53.941899947 +0200
++++ b/autoconf/config.guess 2016-08-04 01:16:30.084553757 +0200
+@@ -142,6 +142,10 @@
+
+ # Note: order is significant - the case branches are not exclusive.
+
++if [ -n "$CBUILD" ]; then
++ echo "$CBUILD"; exit
++fi
++
+ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+ *:NetBSD:*:*)
+ # NetBSD (nbsd) targets should (where applicable) match one or