[SCM] SETI at home packaging branch, master, updated. debian/5.13+cvs20060510-4-65-gbd9782d
Guo Yixuan
culu.gyx at gmail.com
Thu May 24 06:14:37 UTC 2012
The following commit has been merged in the master branch:
commit a2bc0d4b718fc55eba71d66b02502479165e18a8
Author: Guo Yixuan <culu.gyx at gmail.com>
Date: Thu May 24 02:50:08 2012 +0000
use dpkg-buildflags to provide default flags
diff --git a/debian/changelog b/debian/changelog
index ef39967..db54732 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,9 @@ boinc-app-seti (6.12~svn1305-1.1) UNRELEASED; urgency=low
- remove quilt from build-depends.
* debian/rules:
- add dh_install in override target to install app_info.xml and seti.cfg.
+ - use dpkg-buildflags to add -g and default hardening options.
- -- Guo Yixuan <culu.gyx at gmail.com> Thu, 24 May 2012 11:54:21 +0800
+ -- Guo Yixuan <culu.gyx at gmail.com> Thu, 24 May 2012 02:31:38 +0000
boinc-app-seti (6.12~svn1305-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index b187c3c..98e6f5c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,11 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
PKG = boinc-app-seti
+export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
+export CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
+export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
+export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+
# Uncomment this to enable compilation with UltraSPARC specific compiler
# flags. This will most probably increase setiathome's performance or if
# your are unlucky will break it.
@@ -36,7 +41,9 @@ PKG = boinc-app-seti
#endif
-CXXFLAGS= -O3
+CXXFLAGS += -O3
+CXXFLAGS += -I/usr/include/boinc -I/usr/include/boinc/lib -I/usr/include/boinc/api
+
SETIEXTRAFLAGS=
@@ -64,7 +71,6 @@ override_dh_auto_configure:
# Remember to not configure with --disable-dependency-tracking, because
# it breaks some handwritten rules in client/Makefile.am which require
# that DEPDIR exists.
- CXXFLAGS="$(CXXFLAGS) -I/usr/include/boinc -I/usr/include/boinc/lib -I/usr/include/boinc/api" \
BOINCDIR=/usr/share/boinc-dev ./configure \
--disable-static-client \
--enable-client \
--
SETI at home packaging
More information about the pkg-boinc-commits
mailing list