summaryrefslogtreecommitdiff
path: root/sci-mathematics/cadical/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-14 11:10:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-14 11:10:11 +0100
commit81b8f20732954c4508baf2f77472b5435e3f851f (patch)
tree4180177cb7ba85eab50159ce96218c2419fb24a6 /sci-mathematics/cadical/files
parent946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff)
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'sci-mathematics/cadical/files')
-rw-r--r--sci-mathematics/cadical/files/cadical-configure.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sci-mathematics/cadical/files/cadical-configure.patch b/sci-mathematics/cadical/files/cadical-configure.patch
new file mode 100644
index 000000000000..c6135cb08664
--- /dev/null
+++ b/sci-mathematics/cadical/files/cadical-configure.patch
@@ -0,0 +1,21 @@
+Remove forced debugging or optimization flags.
+
+--- a/configure
++++ b/configure
+@@ -261,16 +261,6 @@ case x"$CXX" in
+ *) CXXFLAGS="${CXXFLAGS}-W";;
+ esac
+
+-if [ $debug = yes ]
+-then
+- CXXFLAGS="$CXXFLAGS -g"
+-else
+- case x"$CXX" in
+- x*g++*|x*clang++*) CXXFLAGS="$CXXFLAGS -O3";;
+- *) CXXFLAGS="$CXXFLAGS -O";;
+- esac
+-fi
+-
+ if [ $m32 = yes ]
+ then
+ case x"$CXX" in