mirror of
https://github.com/simon987/sist2.git
synced 2025-04-10 14:06:45 +00:00
Turn off auto optimisation in libtesseract build
This commit is contained in:
parent
ed1ce8ab5e
commit
e9b6e1cdc2
@ -75,7 +75,7 @@ cd tesseract
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DSTATIC=on -DBUILD_TRAINING_TOOLS=off -DBUILD_TESTS=off -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS="-fPIC" ..
|
||||
-DCMAKE_CXX_FLAGS="-fPIC" -DAUTO_OPTIMIZE=off ..
|
||||
make -j $THREADS
|
||||
cd ../..
|
||||
mv tesseract/build/libtesseract.a .
|
||||
|
Loading…
x
Reference in New Issue
Block a user