From 4ded0d066e640e60e1640722860fc73d5838befb Mon Sep 17 00:00:00 2001 From: Eric Platon Date: Tue, 24 Apr 2018 08:36:21 +0900 Subject: [PATCH] Revert failed attempt to support MacPort's g++ The support will require more work, and postpone for now. --- configure.ac | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/configure.ac b/configure.ac index 8f6bbce0..9e11eb71 100644 --- a/configure.ac +++ b/configure.ac @@ -131,20 +131,6 @@ if $sse41; then AM_CONDITIONAL([SSE41_OPT], true) 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" AC_ARG_WITH([extra-includes], -- GitLab