diff options
author | Zach van Rijn <me@zv.io> | 2023-08-17 20:58:19 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-08-17 20:59:55 -0500 |
commit | 21fe3ef399c25f030d6657e83cc635335f3a9f40 (patch) | |
tree | 7b5dc7d143d8c62c8d11da7bc8360f4d3f0c9c5b /user/gnucobol/keep-debug-flags.patch | |
parent | 8f97a591ffdcd9877a2d46d0852c40829b8f08e6 (diff) | |
download | packages-21fe3ef399c25f030d6657e83cc635335f3a9f40.tar.gz packages-21fe3ef399c25f030d6657e83cc635335f3a9f40.tar.bz2 packages-21fe3ef399c25f030d6657e83cc635335f3a9f40.tar.xz packages-21fe3ef399c25f030d6657e83cc635335f3a9f40.zip |
user/gnucobol: bump { 3.1.2 --> 3.2 }.
Diffstat (limited to 'user/gnucobol/keep-debug-flags.patch')
-rw-r--r-- | user/gnucobol/keep-debug-flags.patch | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/user/gnucobol/keep-debug-flags.patch b/user/gnucobol/keep-debug-flags.patch deleted file mode 100644 index 625a5002b..000000000 --- a/user/gnucobol/keep-debug-flags.patch +++ /dev/null @@ -1,62 +0,0 @@ ---- gnucobol-3.1.2/configure.ac 2020-12-23 05:51:14.000000000 -0500 -+++ gnucobol-3.1.2/configure.ac 2021-05-03 02:35:16.051807283 -0400 -@@ -1854,59 +1854,6 @@ if test "$COB_USES_CLANG_ONLY" = "yes"; - fi - - --# Include CFLAGS / CPPFLAGS in COB_CFLAGS without optimization/debug options. -- --if test "x$CFLAGS" != "x"; then -- cob_temp_flags="$CFLAGS" --else -- cob_temp_flags="" --fi --if test "x$CPPFLAGS" != "x"; then -- if test "x$cob_temp_flags" != "x"; then -- cob_temp_flags="$CPPFLAGS $cob_temp_flags" -- else -- cob_temp_flags="$CPPFLAGS" -- fi --fi -- --# --# Add CFLAGS and CPPFLAGS to COB_CFLAGS, minus optimization/debug options. -- --cob_temp_flags="$CFLAGS $CPPFLAGS" -- --if test "$enable_hardening" = no; then -- cob_temp_flags=$(echo x$cob_temp_flags | \ -- sed -e 's/^x//' \ -- -e 's/-Wp,-D_FORTIFY_SOURCE=.//g' \ -- -e 's/-D_FORTIFY_SOURCE=.//g' \ -- -e 's/-fmessage-length=0//g' \ -- -e 's/-fstack-protector-strong//g' \ -- -e 's/-fstack-protector-all//g' \ -- -e 's/-fstack-protector//g' \ -- ) --fi -- --cob_temp_flags=$(echo x$cob_temp_flags | \ -- sed -e 's/^x//' \ -- -e 's/-g\(db\)\{0,1\}[[0-9 ]]//g' \ -- -e 's/-g\(db\)\{0,1\}$//' \ -- -e 's/[[+-]]O[[0-9s]]*//g' \ -- -e 's/-O//g' \ -- -e 's/-funwind-tables//g' \ -- -e 's/-fasynchronous-unwind-tables//g' \ -- -e 's/ / /g' \ -- -e 's/ $//g' \ -- ) -- --if test "x$cob_temp_flags" != "x"; then -- COB_CFLAGS="$cob_temp_flags $COB_CFLAGS" --fi --if test "$enable_hardening" = "yes"; then -- # needs optimization -- COB_CFLAGS="$COB_CFLAGS -O" --fi --unset cob_temp_flags -- - # Special stuff - - AH_VERBATIM([_XOPEN_SOURCE_EXTENDED], |