Enable hardening flags (by appending CPPFLAGS to C(XX)FLAGS).

ci/unstable
Modestas Vainius 13 years ago
parent 251354e65e
commit c7fdd6058e

1
debian/changelog vendored

@ -6,6 +6,7 @@ cmake (2.8.9~rc1-1) UNRELEASED; urgency=low
- backport_module_no_soname.diff; - backport_module_no_soname.diff;
- manpage_fixes.diff. - manpage_fixes.diff.
* Drop cmake-{qt,curses}-gui.lintian-overrides, not needed with newer lintian. * Drop cmake-{qt,curses}-gui.lintian-overrides, not needed with newer lintian.
* Enable hardening flags (by appending CPPFLAGS to C(XX)FLAGS).
-- Modestas Vainius <modax@debian.org> Wed, 27 Jun 2012 20:53:34 +0300 -- Modestas Vainius <modax@debian.org> Wed, 27 Jun 2012 20:53:34 +0300

3
debian/rules vendored

@ -1,5 +1,8 @@
#!/usr/bin/make -f #!/usr/bin/make -f
export DEB_CPPFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS)
export DEB_CFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS)
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
BOOTSTRAP_PARALLEL = --parallel=$(NUMJOBS) BOOTSTRAP_PARALLEL = --parallel=$(NUMJOBS)

Loading…
Cancel
Save