From c7ffebd4ec0ebe4037c287ed7e0f12b3aff8fffd Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 19 Jan 2017 08:58:43 +0100 Subject: [PATCH] clang: Add back C_INCLUDE_DIRS (fixes #683) --- packages/clang/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/clang/build.sh b/packages/clang/build.sh index 4a6225085..0aa537597 100644 --- a/packages/clang/build.sh +++ b/packages/clang/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=http://clang.llvm.org/ TERMUX_PKG_DESCRIPTION="C and C++ frontend for the LLVM compiler" _PKG_MAJOR_VERSION=3.9 TERMUX_PKG_VERSION=${_PKG_MAJOR_VERSION}.1 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=http://llvm.org/releases/${TERMUX_PKG_VERSION}/llvm-${TERMUX_PKG_VERSION}.src.tar.xz TERMUX_PKG_SHA256=1fd90354b9cf19232e8f168faf2220e79be555df3aa743242700879e8fd329ee TERMUX_PKG_HOSTBUILD=true @@ -23,6 +23,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DLLVM_INCLUDE_TESTS=OFF -DCLANG_INCLUDE_TESTS=OFF -DCLANG_TOOL_C_INDEX_TEST_BUILD=OFF +-DC_INCLUDE_DIRS=$TERMUX_PREFIX/include -DBUILD_SHARED_LIBS=ON -DPYTHON_EXECUTABLE=`which python2.7` -DLLVM_TABLEGEN=$TERMUX_PKG_HOSTBUILD_DIR/bin/llvm-tblgen