diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-03-29 13:34:12 +0200 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-03-29 13:34:12 +0200 |
commit | 2e194f84b856d1532a86a94732e1493588fa9bb6 (patch) | |
tree | 68f3531c3d1bbd92b3f01e87f409d38b0420cc9b /binary_tarball/scripts/3_Configure_Source_Code.sh | |
parent | interfere less with what mach bootstrap wants to do (diff) | |
download | librewolf-linux-2e194f84b856d1532a86a94732e1493588fa9bb6.tar.gz librewolf-linux-2e194f84b856d1532a86a94732e1493588fa9bb6.tar.bz2 librewolf-linux-2e194f84b856d1532a86a94732e1493588fa9bb6.zip |
try full path to libclang
Diffstat (limited to 'binary_tarball/scripts/3_Configure_Source_Code.sh')
-rwxr-xr-x | binary_tarball/scripts/3_Configure_Source_Code.sh | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/binary_tarball/scripts/3_Configure_Source_Code.sh b/binary_tarball/scripts/3_Configure_Source_Code.sh index 37f5bd8..49ac61a 100755 --- a/binary_tarball/scripts/3_Configure_Source_Code.sh +++ b/binary_tarball/scripts/3_Configure_Source_Code.sh @@ -20,6 +20,10 @@ cd $srcdir cat >${CI_PROJECT_DIR}/mozconfig <<END ac_add_options --enable-application=browser +# to build on ubuntu and pick up clang +ac_add_options --with-libclang-path="/usr/lib/${CARCH}-linux-gnu/libclang-cpp.so.9" +ac_add_options --with-clang-path="/usr/bin/clang-9" + # This supposedly speeds up compilation (We test through dogfooding anyway) ac_add_options --disable-tests ac_add_options --disable-debug @@ -30,12 +34,11 @@ ac_add_options --enable-release ac_add_options --enable-hardening ac_add_options --enable-rust-simd -# let mach bootstrap do its thing instead -# export CC='clang-9' -# export CXX='clang++-9' -# export AR=llvm-ar-9 -# export NM=llvm-nm-9 -# export RANLIB=llvm-ranlib-9 +export CC='clang-9' +export CXX='clang++-9' +export AR=llvm-ar-9 +export NM=llvm-nm-9 +export RANLIB=llvm-ranlib-9 # Branding ac_add_options --enable-update-channel=release |