mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 11:09:06 +08:00
Merge pull request #404 from stweil/warnings
configure: Don't use -Wno-uninitialized for debug builds
This commit is contained in:
commit
2660647007
@ -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