mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Revert failed attempt to support MacPort's g++
The support will require more work, and postpone for now.
This commit is contained in:
parent
b6c6cd7aa6
commit
4ded0d066e
14
configure.ac
14
configure.ac
@ -131,20 +131,6 @@ if $sse41; then
|
|||||||
AM_CONDITIONAL([SSE41_OPT], true)
|
AM_CONDITIONAL([SSE41_OPT], true)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add platform-specific flags for the supported compiler options.
|
|
||||||
if $avx -o $avx2 -o $sse41; then
|
|
||||||
case "${host_os}" in
|
|
||||||
*darwin* | *-macos10*)
|
|
||||||
if test g++ = "$CXX"; then
|
|
||||||
# When using AVX, AVX2, or SSE4.1 with g++:
|
|
||||||
# Must tell AS to use clang integrated assembler,
|
|
||||||
# instead of the GNU based system assembler.
|
|
||||||
CXXFLAGS="$CXXFLAGS -Wa,-q"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
includedir="${includedir}/tesseract"
|
includedir="${includedir}/tesseract"
|
||||||
|
|
||||||
AC_ARG_WITH([extra-includes],
|
AC_ARG_WITH([extra-includes],
|
||||||
|
Loading…
Reference in New Issue
Block a user