[Debian-astro-commits] [gyoto] 03/04: Prune "bad" flags from gyoto.pc (to keep lintian from complaining)

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Sat May 23 17:19:27 UTC 2015


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

thibaut pushed a commit to branch master
in repository gyoto.

commit 7fedf62b3ab23a71e265de0fcda68f1dec76bdbd
Author: Thibaut Paumard <paumard at users.sourceforge.net>
Date:   Sat May 23 15:30:36 2015 +0200

    Prune "bad" flags from gyoto.pc (to keep lintian from complaining)
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 64ed88d..e0feaf4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,9 @@ override_dh_auto_build-arch: configure-stamp
 	     Y_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
 	     Y_LDFLAGS="$(LDFLAGS)" \
 	     lib bin yorick
+	for badflag in -g -O2 -Werror=format-security -Wformat ; do \
+	 sed s/$${badflag}// -i lib/gyoto.pc ; \
+	done
 	set -e; \
 	for python in `pyversions -s` `py3versions -s`; do \
 	 make -C python PYTHON=$$python ; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/gyoto.git



More information about the Debian-astro-commits mailing list