summaryrefslogtreecommitdiffstats
path: root/debian/patches/21_do_not_strip_-g.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:37:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:37:17 +0000
commit69cb215a954eb985f5dfc34aaa753f83702e331f (patch)
tree2b546f4aad692d612d15376a3a90090f4fb91495 /debian/patches/21_do_not_strip_-g.diff
parentAdding upstream version 2.9.0dev.12. (diff)
downloadlynx-31f0a8731fab09db115626d477081dcfdb0d62b7.tar.xz
lynx-31f0a8731fab09db115626d477081dcfdb0d62b7.zip
Adding debian version 2.9.0dev.12-1.debian/2.9.0dev.12-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/21_do_not_strip_-g.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/21_do_not_strip_-g.diff b/debian/patches/21_do_not_strip_-g.diff
new file mode 100644
index 0000000..851e303
--- /dev/null
+++ b/debian/patches/21_do_not_strip_-g.diff
@@ -0,0 +1,17 @@
+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