mirror of
https://github.com/simon987/sist2.git
synced 2025-04-19 18:26:43 +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
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DSTATIC=on -DBUILD_TRAINING_TOOLS=off -DBUILD_TESTS=off -DCMAKE_BUILD_TYPE=Release \
|
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
|
make -j $THREADS
|
||||||
cd ../..
|
cd ../..
|
||||||
mv tesseract/build/libtesseract.a .
|
mv tesseract/build/libtesseract.a .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user