mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
configure: Remove optimize option for preprocessor
It is only used by the compiler. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
83f311f043
commit
c89b1129d1
@ -296,10 +296,10 @@ AC_ARG_ENABLE([debug],
|
|||||||
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 -O0 -DDEBUG"
|
AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -O0 -DDEBUG"
|
||||||
AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -O0 -DDEBUG"
|
AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -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 -DNDEBUG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#localedir='${prefix}/share/locale'
|
#localedir='${prefix}/share/locale'
|
||||||
|
Loading…
Reference in New Issue
Block a user