# HG changeset patch # User John W. Eaton # Date 1508344850 14400 # Node ID d73575e7de224657e3d16cf750c90b2ccc10202d # Parent 1fdd8063e38d29dee2bd111a57303ae1839e9aa2 llvm: fail except for native linux builds. diff -r 1fdd8063e38d -r d73575e7de22 src/llvm.mk --- 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