From 0b05a2cbb063e51d1e9452467c7ba2bf4e0b4aff Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Thu, 18 Aug 2016 17:49:29 +0200 Subject: main/llvm: improve abuild --- main/llvm/llvm-exit-config-when-cbuild-set.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 main/llvm/llvm-exit-config-when-cbuild-set.patch (limited to 'main/llvm/llvm-exit-config-when-cbuild-set.patch') diff --git a/main/llvm/llvm-exit-config-when-cbuild-set.patch b/main/llvm/llvm-exit-config-when-cbuild-set.patch new file mode 100644 index 0000000000..ffe0fd2f8f --- /dev/null +++ b/main/llvm/llvm-exit-config-when-cbuild-set.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 "ERROR: \$CBUILD is set: $CBUILD"; exit ++fi ++ + case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or -- cgit v1.2.3