forked from len0rd/rockbox
build: Add advanced option to treat all warnings as errors.
Change-Id: I235f93d72bfc33243454edd04e45805b5c795f17
This commit is contained in:
parent
94d6265df0
commit
e1bed147a3
1 changed files with 7 additions and 2 deletions
9
tools/configure
vendored
9
tools/configure
vendored
|
@ -953,8 +953,9 @@ whichadvanced () {
|
|||
interact=1
|
||||
echo ""
|
||||
printf "Enter your developer options (press only enter when done)\n\
|
||||
(D)EBUG, (L)ogf, Boot(c)hart, (S)imulator, (P)rofiling, (V)oice, (U)SB Serial, (W)in32 crosscompile,\n\
|
||||
Win(6)4 crosscompile, (T)est plugins, (O)mit plugins, S(m)all C lib, Logf to Ser(i)al port, LTO (B)uild "
|
||||
(D)EBUG, (L)ogf, Boot(c)hart, (S)imulator, (P)rofiling, (V)oice, (U)SB Serial,\n\
|
||||
(W)in32 crosscompile, Win(6)4 crosscompile, (T)est plugins, (O)mit plugins, \n\
|
||||
S(m)all C lib, Logf to Ser(i)al port, LTO (B)uild, (E)rror on warnings"
|
||||
if [ "$modelname" = "iaudiom5" ]; then
|
||||
printf ", (F)M radio MOD"
|
||||
fi
|
||||
|
@ -1057,6 +1058,10 @@ Win(6)4 crosscompile, (T)est plugins, (O)mit plugins, S(m)all C lib, Logf to Ser
|
|||
echo "LTO build enabled"
|
||||
LTO_ARG="export USE_LTO=y"
|
||||
;;
|
||||
[Ee])
|
||||
echo "Treating all warnings as errors"
|
||||
GCCOPTS="$GCCOPTS -Werror"
|
||||
;;
|
||||
"") # Match enter press when finished with advanced options
|
||||
cont=0
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue