summaryrefslogtreecommitdiffstats
path: root/debian/patches/21_do_not_strip_-g.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/21_do_not_strip_-g.diff')
-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..78bca55
--- /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: 2015-05-08
+
+--- a/configure
++++ b/configure
+@@ -3737,7 +3737,7 @@
+ test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo ${CFLAGS} | sed -e 's%-g %%' -e 's%-g$%%'`
+ ;;
+ (*)
+- test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo ${CFLAGS} | sed -e 's%-g %%' -e 's%-g$%%'`
++ :
+ ;;
+ esac
+ fi