ports/math/givaro/files/patch-configure.ac

15 lines
610 B
Text

--- configure.ac.orig 2017-11-23 13:32:58 UTC
+++ configure.ac
@@ -52,11 +52,7 @@ AC_COMPILER_NAME
# We need a C++11 compiler now - AB 2014-12-12
# clang-3.8 does not support __float128 without explicitly passing it -std=c++11
-if test "x${CCNAM}" = "xclang38" ; then
- AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
-else
- AX_CXX_COMPILE_STDCXX_11([ext],[mandatory])
-fi
+AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
REQUIRED_FLAGS="$CXX11FLAGS"
# Add the c++11 flags for the configure compilations as clang needs it to work properly with a glibc++ compiled with gcc
BACKUP_CXXFLAGS="${CXXFLAGS}"