mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
Disable ThinLTO on static builds
This commit is contained in:
parent
0fc7bef6da
commit
cb6081fd5a
@ -75,6 +75,15 @@ if [ "$target_cpu" = "mipsel" -o "$target_cpu" = "mips64el" ]; then
|
|||||||
chrome_pgo_phase=0'
|
chrome_pgo_phase=0'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# OpenWrt static builds are bad with Clang 18+ and ThinLTO.
|
||||||
|
# Segfaults in fstack-protector on ARM.
|
||||||
|
case "$EXTRA_FLAGS" in
|
||||||
|
*build_static=true*)
|
||||||
|
flags="$flags"'
|
||||||
|
use_thin_lto=false'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
rm -rf "./$out"
|
rm -rf "./$out"
|
||||||
mkdir -p out
|
mkdir -p out
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user