Add support hardening options
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Nobuhiro Iwamatsu
11 years ago
0 | 0 |
mozc (1.5.1053.102-4) unstable; urgency=low
|
1 | 1 |
|
2 | 2 |
* Add fcitx to Recommends of fcitx-mozc. (Closes: #673249)
|
|
3 |
* Enable hardening options.
|
|
4 |
* Update debian/control.
|
|
5 |
Add hardening-includes to Build-Depends.
|
|
6 |
* Update debian/rules.
|
|
7 |
Add hardening options.
|
3 | 8 |
|
4 | 9 |
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 31 May 2012 10:59:14 +0900
|
5 | 10 |
|
6 | 6 |
libcurl4-openssl-dev, pkg-config,
|
7 | 7 |
python-dev, gyp (>= 0.1~svn824), protobuf-compiler, libgtest-dev,
|
8 | 8 |
libprotobuf-dev, libqt4-dev, libscim-dev, libuim-dev,
|
9 | |
libzinnia-dev, fcitx-libs-dev, gettext
|
|
9 |
libzinnia-dev, fcitx-libs-dev, gettext, hardening-includes
|
10 | 10 |
Standards-Version: 3.9.3
|
11 | 11 |
Homepage: http://code.google.com/p/mozc/
|
12 | 12 |
|
0 | 0 |
#!/usr/bin/make -f
|
1 | 1 |
# -*- makefile -*-
|
2 | 2 |
#
|
|
3 |
#
|
|
4 |
include /usr/share/hardening-includes/hardening.make
|
|
5 |
|
|
6 |
CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
|
|
7 |
LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
|
|
8 |
CFLAGS+=$(HARDENING_CFLAGS)
|
|
9 |
LDFLAGS+=$(HARDENING_LDFLAGS)
|
|
10 |
|
3 | 11 |
DEB_BUILD_ARCH_OS := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
|
4 | 12 |
DEB_BUILD_MULTIARCH :=$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
|
5 | 13 |
ifeq ($(DEB_BUILD_ARCH_OS),linux)
|