mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-13 14:11:04 +00:00
Support adding build flags from env var
This commit is contained in:
parent
0f66be50dd
commit
86270ba59c
1 changed files with 4 additions and 4 deletions
|
@ -6,16 +6,16 @@ mkdir -p "$TMPDIR"
|
||||||
|
|
||||||
if [ "$1" = debug ]; then
|
if [ "$1" = debug ]; then
|
||||||
out=out/Debug
|
out=out/Debug
|
||||||
flags='
|
flags="$EXTRA_FLAGS
|
||||||
is_debug=true
|
is_debug=true
|
||||||
is_component_build=true'
|
is_component_build=true"
|
||||||
else
|
else
|
||||||
out=out/Release
|
out=out/Release
|
||||||
flags='
|
flags="$EXTRA_FLAGS
|
||||||
is_official_build=true
|
is_official_build=true
|
||||||
use_jumbo_build=true
|
use_jumbo_build=true
|
||||||
exclude_unwind_tables=true
|
exclude_unwind_tables=true
|
||||||
symbol_level=0'
|
symbol_level=0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if which ccache >/dev/null 2>&1; then
|
if which ccache >/dev/null 2>&1; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue