mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Remove outdated restriction on -Werror on cosmocc
This was a good idea back when we were only using it to build various open source projects. However it no longer makes sense that many more people are depending on cosmocc, to develop new software. Our tooling shouldn't be making these kinds of decisions for the user.
This commit is contained in:
parent
6659981457
commit
13b9ecd537
2 changed files with 0 additions and 10 deletions
|
@ -184,11 +184,6 @@ for x; do
|
|||
# no support for position independent executables
|
||||
# https://github.com/jart/cosmopolitan/issues/1126
|
||||
continue
|
||||
elif [ x"$x" = x"-Werror" ] || \
|
||||
[ x"$x" = x"-pedantic-errors" ]; then
|
||||
# this toolchain is intended for building other people's code
|
||||
# elevating warnings into errors, should only be done by devs
|
||||
continue
|
||||
elif [ x"$x" = x"-static-libgcc" ] || \
|
||||
[ x"$x" = x"-shared-libgcc" ]; then
|
||||
# cosmopolitan.a always has llvm compiler runtime static code
|
||||
|
|
|
@ -165,11 +165,6 @@ for x; do
|
|||
# information."
|
||||
set -- "$@" -momit-leaf-frame-pointer -foptimize-sibling-calls
|
||||
continue
|
||||
elif [ x"$x" != x"${x#-Werror}" ] || \
|
||||
[ x"$x" = x"-pedantic-errors" ]; then
|
||||
# this toolchain is intended for building other people's code
|
||||
# elevating warnings into errors, should only be done by devs
|
||||
continue
|
||||
elif [ x"$x" = x"-dumpversion" ]; then
|
||||
echo $GCC_VERSION
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue