makeBinaryWrapper: add -Wno-overlength-strings
The generated C code contains large string literals that are longer than the maximum length specified by the standard. However, GCC has no trouble dealing with those strings, so we can just add -Wno-overlength-strings. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Woverlength-strings
This commit is contained in:
parent
8ad52489e9
commit
42a4c05dd0
|
@ -46,6 +46,7 @@ makeWrapper() {
|
|||
makeDocumentedCWrapper "$original" "$@" | \
|
||||
@CC@ \
|
||||
-Wall -Werror -Wpedantic \
|
||||
-Wno-overlength-strings \
|
||||
-Os \
|
||||
-x c \
|
||||
-o "$wrapper" -
|
||||
|
|
Loading…
Reference in a new issue