mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
configure: Don't use -Wno-uninitialized for debug builds
There is no good reason to suppress useful compiler warnings. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
7f8bd11c59
commit
fdf950babf
@ -294,8 +294,8 @@ AC_ARG_ENABLE([debug],
|
||||
[debug="no"])
|
||||
AC_MSG_RESULT([$debug])
|
||||
if test x"$debug" = x"yes"; then
|
||||
AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -Wno-uninitialized -O0 -DDEBUG"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -Wno-uninitialized -O0 -DDEBUG"
|
||||
AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -O0 -DDEBUG"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -O0 -DDEBUG"
|
||||
else
|
||||
AM_CXXFLAGS="$AM_CXXFLAGS -O2 -DNDEBUG"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -O2 -DNDEBUG"
|
||||
|
Loading…
Reference in New Issue
Block a user