void-packages/srcpkgs/lynx/patches/21_do_not_strip_-g.diff

18 lines
570 B
Diff

Description: Stop ./configure from stripping out -g from CFLAGS
Author: Andreas Metzler <ametzler@debian.org>,
Simon Ruderich <simon@ruderich.org>
Origin: vendor
Last-Update: 2021-07-27
--- a/configure
+++ b/configure
@@ -4098,7 +4098,7 @@
test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'`
;;
(*)
- test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'`
+ :
;;
esac
fi