summaryrefslogtreecommitdiff
path: root/sci-mathematics/cadical/files/cadical-configure.patch
blob: c6135cb086644326eeae9b99da06a9edfe147738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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