diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-09-24 02:47:05 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-09-24 03:15:47 (GMT) |
commit | 1b791d92721d0c6778f0e7fd361bef41135deba4 (patch) | |
tree | 1a7fd6112d7da5fcd38a93f54c17b5edb2b03cf0 /src | |
parent | 11938e5ecb035e4e74efe8c72f270f2dd784e0b8 (diff) | |
download | mxe-1b791d92721d0c6778f0e7fd361bef41135deba4.zip mxe-1b791d92721d0c6778f0e7fd361bef41135deba4.tar.gz mxe-1b791d92721d0c6778f0e7fd361bef41135deba4.tar.bz2 |
llvm: fix update macro and remove obsolete llvm-config symlink
Fixes #844
Diffstat (limited to 'src')
-rw-r--r-- | src/llvm.mk | 3 |
1 files changed, 1 insertions, 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 = |