mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-12 07:29:07 +08:00
Merge pull request #1516 from ic/master
Fix wrong environment test that breaks clang++ builds.
This commit is contained in:
commit
acbd333ce4
@ -135,8 +135,8 @@ fi
|
||||
if $avx -o $avx2 -o $sse41; then
|
||||
case "${host_os}" in
|
||||
*darwin* | *-macos10*)
|
||||
if test -z "$CLANG"; then
|
||||
# When using AVX, AVX2, or SSE4.1:
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user