summaryrefslogtreecommitdiffstats
path: root/debian/patches/21_do_not_strip_-g.diff
blob: 851e303a6b58ebc08317450d32fbfe692659c60b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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