From 0d5f7d57c7557c8d99e768dca95babd767253d39 Mon Sep 17 00:00:00 2001 From: Lionel AINS Date: Fri, 3 Jul 2015 11:44:20 +0200 Subject: [PATCH] Fixing CXXFLAGS regexp to also catch -Os (otherwise would transform -Os into s and leads to failure in configure when checking for curl/curl.h) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 330c3c2..be06625 100644 --- a/configure.ac +++ b/configure.ac @@ -46,7 +46,7 @@ AC_PROG_LIBTOOL LIBTOOL="$LIBTOOL --silent" -CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[[0-9]]*//'`" +CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[[0-9s]][[0-9s]]*//'`" CURLPP_CXXFLAGS="" case $host in