diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-11 07:02:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-11 07:02:28 +0100 |
commit | 068424b26532f3551a81421a9be67ed206e5c11a (patch) | |
tree | 583b8d979899a463a4ef5b26d3d49e85df987623 /sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-fabi-version.patch | |
parent | d162ba1860a88062f4cd61f8b52fc303ba0b2991 (diff) |
gentoo resync : 11.08.2021
Diffstat (limited to 'sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-fabi-version.patch')
-rw-r--r-- | sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-fabi-version.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-fabi-version.patch b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-fabi-version.patch new file mode 100644 index 000000000000..48ae6c37166a --- /dev/null +++ b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-fabi-version.patch @@ -0,0 +1,31 @@ +From 11364be98b200405630117d5eebb33bfdbc8c19e Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Sat, 7 Aug 2021 12:09:39 -0400 +Subject: [PATCH 1/1] configure.ac: don't append -fabi-version=6 to CXXFLAGS. + +This is a quick hack to avoid appending -fabi-version=6 to CXXFLAGS. +Both givaro and fflas-ffpack have problems with this legacy cruft +that are fixed upstream but tough to backport. We don't support +compilers that old, so we can just delete it. +--- + configure.ac | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 571d923..616b2f5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -179,10 +179,6 @@ AC_SUBST(SIMD_FLAGS) + dnl gcc-4.9.2 bug See https://trac.sagemath.org/ticket/17635#comment:178 + AS_IF([ test "x$CCNAM" = "xgcc492" ],[REQUIRED_FLAGS="${REQUIRED_FLAGS} -fpermissive"],[]) + +-dnl With GCC's default ABI version, a __m128 or __m256 are the same types and therefore we cannot +-dnl have overloads for both types without linking error. +-AS_IF([test "x$CCNAM" = "xgcc"],[REQUIRED_FLAGS="${REQUIRED_FLAGS} -fabi-version=6"],[]) +- + AC_SUBST(REQUIRED_FLAGS) + + PARFLAGS="${OMPFLAGS}" +-- +2.31.1 + |