cc fixes
This commit is contained in:
parent
6df64d7560
commit
e3e49a7da2
|
@ -99,11 +99,11 @@ if [[ $CARCH == 'aarch64' ]]; then
|
||||||
# taken from manjaro build:
|
# taken from manjaro build:
|
||||||
ac_add_options --enable-optimize="-g0 -O2"
|
ac_add_options --enable-optimize="-g0 -O2"
|
||||||
|
|
||||||
export CC='clang-10'
|
export CC='clang'
|
||||||
export CXX='clang++-10'
|
export CXX='clang++'
|
||||||
export AR=llvm-ar-10
|
export AR=llvm-ar
|
||||||
export NM=llvm-nm-10
|
export NM=llvm-nm
|
||||||
export RANLIB=llvm-ranlib-10
|
export RANLIB=llvm-ranlib
|
||||||
END
|
END
|
||||||
|
|
||||||
export MOZ_DEBUG_FLAGS=" "
|
export MOZ_DEBUG_FLAGS=" "
|
||||||
|
@ -121,11 +121,11 @@ else
|
||||||
# ubuntu seems to recommend this
|
# ubuntu seems to recommend this
|
||||||
ac_add_options --disable-elf-hack
|
ac_add_options --disable-elf-hack
|
||||||
|
|
||||||
export CC='clang-13'
|
export CC='clang'
|
||||||
export CXX='clang++-13'
|
export CXX='clang++'
|
||||||
export AR=llvm-ar-13
|
export AR=llvm-ar
|
||||||
export NM=llvm-nm-13
|
export NM=llvm-nm
|
||||||
export RANLIB=llvm-ranlib-13
|
export RANLIB=llvm-ranlib
|
||||||
|
|
||||||
# probably not needed, enabled by default?
|
# probably not needed, enabled by default?
|
||||||
ac_add_options --enable-optimize
|
ac_add_options --enable-optimize
|
||||||
|
|
Loading…
Reference in a new issue