1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-11-08 12:02:28 +01:00

Add -Wextra -Wzero-as-null-pointer-constant to configure.ac

Signed-off-by: Olli <oparviai'at'iki.fi>
This commit is contained in:
Olli 2023-03-25 11:49:04 +02:00
parent 05d2835f65
commit 63db6bf344

View File

@ -33,7 +33,7 @@ AC_LANG(C++)
# Compiler flags. Apply -Ofast (implies -O3 -ffast-math) to allow gcc autovectorization
# generate effective SIMD code.
CXXFLAGS+=" -Ofast -Wall -Wno-unknown-pragmas"
CXXFLAGS+=" -Ofast -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas"
# Set AR_FLAGS to avoid build warning "ar: `u' modifier ignored since `D' is the default (see `U')"
AR_FLAGS='cr'