mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-28 05:39:35 +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"])
|
[debug="no"])
|
||||||
AC_MSG_RESULT([$debug])
|
AC_MSG_RESULT([$debug])
|
||||||
if test x"$debug" = x"yes"; then
|
if test x"$debug" = x"yes"; then
|
||||||
AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -Wno-uninitialized -O0 -DDEBUG"
|
AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -O0 -DDEBUG"
|
||||||
AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -Wno-uninitialized -O0 -DDEBUG"
|
AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -O0 -DDEBUG"
|
||||||
else
|
else
|
||||||
AM_CXXFLAGS="$AM_CXXFLAGS -O2 -DNDEBUG"
|
AM_CXXFLAGS="$AM_CXXFLAGS -O2 -DNDEBUG"
|
||||||
AM_CPPFLAGS="$AM_CPPFLAGS -O2 -DNDEBUG"
|
AM_CPPFLAGS="$AM_CPPFLAGS -O2 -DNDEBUG"
|
||||||
|
Loading…
Reference in New Issue
Block a user