[DRE-commits] [ruby-passenger] 10/17: Pass CXXFLAGS, CPPFLAGS and LDFLAGS to the build system.

Felix Geyer fgeyer at alioth.debian.org
Mon Aug 5 19:12:10 UTC 2013


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

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

commit 4df771243317272e6b07e8e5373777fb702902f2
Author: Felix Geyer <fgeyer at debian.org>
Date:   Mon Aug 5 20:41:08 2013 +0200

    Pass CXXFLAGS, CPPFLAGS and LDFLAGS to the build system.
---
 debian/changelog |    1 +
 debian/rules     |    4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e0f5c4e..bda5d51 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ ruby-passenger (4.0.10-1) UNRELEASED; urgency=low
   * Drop fix_ftbfs_glibc217.patch, CVE-2013-2119.patch and CVE-2013-4136.patch,
     applied upstream.
   * Point PassengerRoot to the locations.ini in passenger.conf.
+  * Pass CXXFLAGS, CPPFLAGS and LDFLAGS to the build system.
   * Add myself as Uploader.
 
  -- Felix Geyer <fgeyer at debian.org>  Mon, 05 Aug 2013 20:31:08 +0200
diff --git a/debian/rules b/debian/rules
index 70d0e08..491a000 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,10 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
+include /usr/share/dpkg/buildflags.mk
+export EXTRA_CXXFLAGS=$(CXXFLAGS) $(CPPFLAGS)
+export EXTRA_LDFLAGS=$(LDFLAGS)
+
 export USE_VENDORED_LIBEV=false
 
 %:

-- 
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