summaryrefslogtreecommitdiff
path: root/math/cadical/files/patch-configure
blob: 9fc9c43144fde9487ed45f29f1eedde30436fdac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.orig	2019-07-12 20:22:02 UTC
+++ configure
@@ -154,7 +154,7 @@ do
       CXXFLAGS="`expr \"$1\" : 'CXXFLAGS=\(.*\)'`"
       ;;
 
-    *) die "invalid option '$1' (try '-h')";;
+    *) ;;
 
   esac
   shift
@@ -396,7 +396,7 @@ sed \
 -e "2c\\
 # This 'makefile' is generated from '../makefile.in'." \
 -e "s,@CXX@,$CXX," \
--e "s,@CXXFLAGS@,$CXXFLAGS," \
+-e "s|@CXXFLAGS@|$CXXFLAGS|" \
 -e "s,@MAKEFLAGS@,$MAKEFLAGS," \
 ../makefile.in > makefile