gnu-cobol/gnucobol-CFLAGS.patch
OBS User mrdocs f4795cb7da Accepting request 605500 from home:alois:branches:devel:languages:misc
- Update to version 3.0rc1, stabler than 2.2 final
  (see NEWS or ChangeLog for details)
- Refreshed gnucobol-CFLAGS.patch
- Switched source URL to sourceforge to get the latest tarball
- Fixed description
- Enabled tests

OBS-URL: https://build.opensuse.org/request/show/605500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/gnu-cobol?expand=0&rev=6
2018-05-12 04:09:42 +00:00

23 lines
1.0 KiB
Diff

Index: gnucobol-3.0-rc1/configure
===================================================================
--- gnucobol-3.0-rc1.orig/configure
+++ gnucobol-3.0-rc1/configure
@@ -18460,7 +18460,7 @@ fi
unset enable_cflags_setting
if test "$enable_debug" != "yes" -a "x$CFLAGS" != "x"; then
- CFLAGS=`echo "$CFLAGS" | sed -e 's/-g3//' -e 's/-g//' -e 's/^ //' -e 's/ $//'`
+ CFLAGS=`echo "$CFLAGS" | sed -e 's/-g3//' -e 's/-g //' -e 's/^ //' -e 's/ $//'`
fi
if test "$COB_USES_GCC" = "yes"; then
@@ -18564,7 +18564,7 @@ if test "x$CPPFLAGS" != "x"; then
fi
fi
if test "x$cob_temp_flags" != "x"; then
- cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-g3//' -e 's/-g//' -e 's/ $//' -e 's/^ //'`
+ cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-g3//' -e 's/-g //' -e 's/ $//' -e 's/^ //'`
cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/[+-]O[0-9s]//' -e 's/ $//' -e 's/^ //'`
cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-O//' -e 's/ $//' -e 's/^ //'`
cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-fmessage-length=0//'`