aboutsummaryrefslogtreecommitdiff
path: root/binary_tarball/scripts
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-29 13:34:12 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-29 13:34:12 +0200
commit2e194f84b856d1532a86a94732e1493588fa9bb6 (patch)
tree68f3531c3d1bbd92b3f01e87f409d38b0420cc9b /binary_tarball/scripts
parentinterfere less with what mach bootstrap wants to do (diff)
downloadlibrewolf-linux-2e194f84b856d1532a86a94732e1493588fa9bb6.tar.gz
librewolf-linux-2e194f84b856d1532a86a94732e1493588fa9bb6.tar.bz2
librewolf-linux-2e194f84b856d1532a86a94732e1493588fa9bb6.zip
try full path to libclang
Diffstat (limited to 'binary_tarball/scripts')
-rwxr-xr-xbinary_tarball/scripts/3_Configure_Source_Code.sh15
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
bgstack15