changeset 4514:d73575e7de22

llvm: fail except for native linux builds.
author John W. Eaton <jwe@octave.org>
date Wed, 18 Oct 2017 12:40:50 -0400
parents 1fdd8063e38d
children a8c3ca78f7a7
files src/llvm.mk
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/llvm.mk	Wed Oct 18 10:50:32 2017 -0400
+++ b/src/llvm.mk	Wed Oct 18 12:40:50 2017 -0400
@@ -36,9 +36,14 @@
       $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
     endef
   else
-    echo "unsupported LLVM configuration" && 1>&2
-    exit 1
+    define $(PKG)_BUILD
+      echo "unsupported LLVM configuration" 1>&2
+      exit 1
+    endef
   endif
 else
-  echo "unsupported LLVM configuration" 1>&2 && exit 1
+  define $(PKG)_BUILD
+    echo "unsupported LLVM configuration" 1>&2
+    exit 1
+  endef
 endif