[Debian-astro-commits] [erfa] 01/02: Add -fno-caller-save to CFLAGS. Closes: #835105

Ole Streicher olebole at moszumanska.debian.org
Wed Aug 24 12:57:24 UTC 2016


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

olebole pushed a commit to branch debian
in repository erfa.

commit 9ebefb8fa8976e8b40a952ecd2a15f3117760b36
Author: Ole Streicher <olebole at debian.org>
Date:   Wed Aug 24 14:53:22 2016 +0200

    Add -fno-caller-save to CFLAGS. Closes: #835105
---
 debian/changelog | 3 ++-
 debian/rules     | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3bd95ee..119bd41 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
-erfa (1.2.0-4) UNRELEASED; urgency=low
+erfa (1.2.0-4) UNRELEASED; urgency=medium
 
   * Add d/upstream/metadata
+  * Add -fno-caller-save to CFLAGS. Closes: #835105
 
  -- Ole Streicher <olebole at debian.org>  Wed, 23 Mar 2016 10:22:20 +0100
 
diff --git a/debian/rules b/debian/rules
index 1e6b4a1..7e52080 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,12 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# see https://bugs.debian.org/835105
+# and https://github.com/liberfa/erfa/issues/33
+# and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77365
+CFLAGS += -fno-caller-saves
+export CFLAGS
+
 %:
 	dh $@ --with autoreconf --parallel
 

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



More information about the Debian-astro-commits mailing list