[libreoffice] 01/01: move from hardcoded C(XX)FLAGS for -g -> -g1 to recommended DEB_C(XX)FLAGS_MAINT_APPEND

Rene Engelhard rene at moszumanska.debian.org
Tue Jan 31 20:51:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch debian-experimental-5.3
in repository libreoffice.

commit b0b9543ce79d6957b5f73afadad3c72a3fc49d1f
Author: Rene Engelhard <rene at debian.org>
Date:   Tue Jan 31 21:50:44 2017 +0100

    move from hardcoded C(XX)FLAGS for -g -> -g1 to recommended DEB_C(XX)FLAGS_MAINT_APPEND
---
 changelog | 8 ++++++++
 rules     | 6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/changelog b/changelog
index 9b66fac..914d7f9 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,11 @@
+libreoffice (1:5.3.0-2) UNRELEASED; urgency=medium
+
+  * debian/rules:
+    - move from hardcoded C(XX)FLAGS for -g -> -g1 to recommended
+      DEB_C(XX)FLAGS_MAINT_APPEND
+
+ -- Rene Engelhard <rene at debian.org>  Mon, 30 Jan 2017 15:12:29 +0100
+
 libreoffice (1:5.3.0-1) experimental; urgency=medium
 
   * New upstream release
diff --git a/rules b/rules
index 30a82fa..8d2518f 100755
--- a/rules
+++ b/rules
@@ -860,9 +860,9 @@ ifeq "$(ENABLE_SYMBOLS)" "y"
   # Small symbols?
   ifeq "$(SMALL_SYMBOLS)" "y"
 	CONFIGURE_FLAGS += --enable-symbols=SMALL
-	CFLAGS := $(shell echo $(CFLAGS) | sed -e "s/-g/-g1/")
-	CXXFLAGS := $(shell echo $(CXXFLAGS) | sed -e "s/-g/-g1/")
-export CFLAGS CXXFLAGS
+	DEB_CFLAGS_MAINT_APPEND += $(shell echo $(CFLAGS) | sed -e "s/-g/-g1/")
+	DEB_CXXFLAGS_MAINT_APPEND += $(shell echo $(CXXFLAGS) | sed -e "s/-g/-g1/")
+export DEB_CFLAGS_MAINT_APPEND DEB_CXXFLAGS_MAINT_APPEND
   else
 	CONFIGURE_FLAGS += --enable-symbols
   endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git



More information about the Pkg-openoffice-commits mailing list