summaryrefslogtreecommitdiff
path: root/sci-mathematics/cadical/files/cadical-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/cadical/files/cadical-configure.patch')
-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