projects
/
giada.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
109f1a4
)
Fix hardening.
author
Jaromír Mikeš
<mira.mikes@seznam.cz>
Wed, 22 Jun 2016 13:01:18 +0000
(15:01 +0200)
committer
Jaromír Mikeš
<mira.mikes@seznam.cz>
Wed, 22 Jun 2016 13:01:18 +0000
(15:01 +0200)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index 121b6bcd00999155a2666933efbb2d15d9db0e13..bcd784937650c03a19e7065841f2d17d0c4bf27d 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-6,6
+6,8
@@
UPSTREAM_VERSION ?=$(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\
PKG = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
DATE := $(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%Y/%m/%d")
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
CPPFLAGS+=-DBUILD_DATE='"$(DATE)"'
CXXFLAGS+=-std=c++11
LDFLAGS+=-Wl,--as-needed