summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 591cb1a)
raw | patch | inline | side by side (parent: 591cb1a)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 17 Jun 2009 17:36:46 +0000 (19:36 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 17 Jun 2009 17:36:46 +0000 (19:36 +0200) |
debian/changelog | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index ddcbc134ecd105ce8324ba7347fbb0cecea59f66..149b7228883e71699756c1fb9a1a700a54b6bdb1 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
- Added libgsl0-dev to the build-dependencies - this is required for the
new mantiuk08 operator.
- Updated standards-version to 3.8.2 - no changes.
+ * debian/rules:
+ - Pass appropriate CFLAGS and CXXFLAGS to configure.
- -- Sebastian Harl <tokkee@debian.org> Wed, 17 Jun 2009 19:07:38 +0200
+ -- Sebastian Harl <tokkee@debian.org> Wed, 17 Jun 2009 19:36:23 +0200
pfstmo (1.1-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index bc8c64f63bdcfa94aa3c774571d9629f89a19607..c8625e78510285c23e2e0539f2c37316d54cb398 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+CFLAGS = -Wall -g
+CXXFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+ CXXFLAGS += -O0
+else
+ CFLAGS += -O2
+ CXXFLAGS += -O2
+endif
+
config.status: configure
dh_testdir
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info
+ --infodir=\$${prefix}/share/info \
+ CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)"
build: build-stamp