Split native_clang out of native_cctools

Needed for compiling native_libtapi
This commit is contained in:
Howard Chu 2022-05-04 00:42:05 +01:00
parent 1008318715
commit 83ae3ad178
No known key found for this signature in database
GPG key ID: FD2A70B44AB11BA7
4 changed files with 36 additions and 49 deletions

View file

@ -5,9 +5,11 @@ $(package)_download_file=$($(package)_version).tar.gz
$(package)_file_name=$(package)-$($(package)_version).tar.gz
$(package)_sha256_hash=62e419c12d1c9fad67cc1cd523132bc00db050998337c734c15bc8d73cc02b61
$(package)_build_subdir=build
$(package)_dependencies=native_clang
define $(package)_config_cmds
echo -n $(build_prefix) > INSTALLPREFIX; \
CC=$(host_prefix)/native/bin/clang CXX=$(host_prefix)/native/bin/clang++ \
cmake -DCMAKE_INSTALL_PREFIX=$(build_prefix) \
-DLLVM_INCLUDE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=RELEASE \