diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-18 17:49:29 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-18 23:01:39 +0200 |
commit | 0b05a2cbb063e51d1e9452467c7ba2bf4e0b4aff (patch) | |
tree | 897900dcadf078946a53071ea69b4486890712cf /main/llvm/llvm-exit-config-when-cbuild-set.patch | |
parent | 1bc2d973de19025bd29fdc1d5f55da95a21e0ecf (diff) | |
download | aports-0b05a2cbb063e51d1e9452467c7ba2bf4e0b4aff.tar.bz2 aports-0b05a2cbb063e51d1e9452467c7ba2bf4e0b4aff.tar.xz |
main/llvm: improve abuild
Diffstat (limited to 'main/llvm/llvm-exit-config-when-cbuild-set.patch')
-rw-r--r-- | main/llvm/llvm-exit-config-when-cbuild-set.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 |