[DRE-commits] [ruby-passenger] 01/01: Make sure the build flags are used for all source files.

Felix Geyer fgeyer at moszumanska.debian.org
Sun Feb 2 21:39:23 UTC 2014


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

fgeyer pushed a commit to branch master
in repository ruby-passenger.

commit bb6e724a1070a975b2abde0a6d0d770cc273d2ea
Author: Felix Geyer <fgeyer at debian.org>
Date:   Sun Feb 2 22:39:05 2014 +0100

    Make sure the build flags are used for all source files.
    
    * Make sure the build flags are used for all source files.
      - Export CFLAGS and CPPFLAGS as EXTRA_CFLAGS.
---
 debian/changelog | 5 +++++
 debian/rules     | 1 +
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 65be47c..bf9822e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,12 @@
 ruby-passenger (4.0.35-2) UNRELEASED; urgency=medium
 
+  [ Cédric Boutillier ]
   * Move upstream GPG key into debian/upstream.
 
+  [ Felix Geyer ]
+  * Make sure the build flags are used for all source files.
+    - Export CFLAGS and CPPFLAGS as EXTRA_CFLAGS.
+
  -- Cédric Boutillier <boutil at debian.org>  Wed, 29 Jan 2014 10:47:40 +0100
 
 ruby-passenger (4.0.35-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index d827f82..0bc9de0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 #export DH_VERBOSE=1
 
 include /usr/share/dpkg/buildflags.mk
+export EXTRA_CFLAGS=$(CFLAGS) $(CPPFLAGS)
 export EXTRA_CXXFLAGS=$(CXXFLAGS) $(CPPFLAGS)
 export EXTRA_LDFLAGS=$(LDFLAGS)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-passenger.git



More information about the Pkg-ruby-extras-commits mailing list