The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / subversion / 0001-dont-mangle-cflags.patch
1 [PATCH] configure: don't mangle CFLAGS
2
3 Ensure that the sed expression to strip debugging options from CFLAGS
4 doesn't mangle flags like -mfloat-gprs=double, breaking the build.
5
6 Patch configure instead of configure.ac as subversion currently doesn't
7 cleanly autoreconf.
8
9 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 ---
11  configure |    4 ++--
12  1 file changed, 2 insertions(+), 2 deletions(-)
13
14 Index: subversion-1.7.18/configure
15 ===================================================================
16 --- subversion-1.7.18.orig/configure
17 +++ subversion-1.7.18/configure
18 @@ -19798,8 +19798,8 @@
19        CFLAGS="$CFLAGS -DSVN_DEBUG -DAP_DEBUG"
20    CXXFLAGS="$CXXFLAGS -DSVN_DEBUG -DAP_DEBUG"
21  elif test "$enable_debugging" = "no" ; then
22 -    CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' | $SED -e 's/-g//g'`"
23 -    CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' | $SED -e 's/-g//g'`"
24 +    CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9]* //g'`"
25 +    CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9]* //g'`"
26          CFLAGS="$CFLAGS -DNDEBUG"
27      CXXFLAGS="$CXXFLAGS -DNDEBUG"
28  # elif test "$enable_debugging" = "maybe" ; then