[openarena-data] 05/07: Pass CPPFLAGS to C compiler for QVM-synthesizing program, avoiding warnings from build-log checks

Simon McVittie smcv at debian.org
Tue Jun 28 11:51:10 UTC 2016


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

smcv pushed a commit to branch master
in repository openarena-data.

commit 90047945087a2ef7fe0190b4d962767802aed710
Author: Simon McVittie <smcv at debian.org>
Date:   Tue Jun 28 10:17:07 2016 +0100

    Pass CPPFLAGS to C compiler for QVM-synthesizing program, avoiding warnings from build-log checks
---
 debian/changelog | 2 ++
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ce0d277..bff5973 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ openarena-data (0.8.5split-8) UNRELEASED; urgency=medium
   * d/rules: chmod all files, even those not in the obvious directory
     (mp-pak0.pk3 contains ../CREDITS and ../COPYING)
   * Standards-Version: 3.9.8 (no changes needed)
+  * Pass CPPFLAGS to C compiler for QVM-synthesizing program, avoiding
+    warnings from build-log checks
 
  -- Simon McVittie <smcv at debian.org>  Tue, 28 Jun 2016 09:58:34 +0100
 
diff --git a/debian/rules b/debian/rules
index 16072e6..0ded450 100755
--- a/debian/rules
+++ b/debian/rules
@@ -116,7 +116,7 @@ debian/$(QVMPREFIX)-$(QVMCRC).qvm: | debian/qvmbrute
 	./debian/qvmbrute 0x$(QVMCRC) $@ $(QVMPREFIX)
 
 debian/qvmbrute: | debian/qvmbrute.c
-	$(DEB_BUILD_GNU_TYPE)-gcc $(CFLAGS) -Wall -o debian/qvmbrute debian/qvmbrute.c $(LDFLAGS) -lz
+	$(DEB_BUILD_GNU_TYPE)-gcc $(CPPFLAGS) $(CFLAGS) -Wall -o debian/qvmbrute debian/qvmbrute.c $(LDFLAGS) -lz
 
 tarball := $(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.xz
 tardir := $(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM).orig

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openarena-data.git



More information about the Pkg-games-commits mailing list