From 1b791d92721d0c6778f0e7fd361bef41135deba4 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Thu, 24 Sep 2015 12:47:05 +1000 Subject: llvm: fix update macro and remove obsolete llvm-config symlink Fixes #844 --- src/llvm.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/llvm.mk b/src/llvm.mk index 0e34c6f..a27cbf1 100644 --- a/src/llvm.mk +++ b/src/llvm.mk @@ -13,7 +13,7 @@ $(PKG)_DEPS := gcc define $(PKG)_UPDATE $(WGET) -q -O- 'http://llvm.org/releases/download.html' | \ grep 'Download LLVM' | \ - $(SED) -n 's,.*\([0-9]\.[0-9]\).*,\1,p' | \ + $(SED) -n 's,.*LLVM \([0-9][^<]*\).*,\1,p' | \ head -1 endef @@ -26,7 +26,6 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)/build' -j $(JOBS) llvm-tblgen $(MAKE) -C '$(1)/build' -j $(JOBS) intrinsics_gen $(MAKE) -C '$(1)/build' -j $(JOBS) install - ln -sf '$(PREFIX)/$(TARGET)/bin/llvm-config' '$(PREFIX)/bin/$(TARGET)-llvm-config' endef $(PKG)_BUILD_SHARED = -- cgit v0.12