mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
build-sys: Drop -Wvla from compiler flags
Since we mandate C99 support, not reason to keep this around.
This commit is contained in:
parent
03e9d3d0d7
commit
fb52466d6a
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ esac
|
||||||
#### Compiler flags ####
|
#### Compiler flags ####
|
||||||
|
|
||||||
AX_APPEND_COMPILE_FLAGS(
|
AX_APPEND_COMPILE_FLAGS(
|
||||||
[-Wall -W -Wextra -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option],
|
[-Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option],
|
||||||
[], [-pedantic -Werror])
|
[], [-pedantic -Werror])
|
||||||
|
|
||||||
# Only enable fastpath asserts when doing a debug build, e.g. from bootstrap.sh.
|
# Only enable fastpath asserts when doing a debug build, e.g. from bootstrap.sh.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue