summarylogtreecommitdiffstats
path: root/add-hardening.patch
blob: 3df1e4536a04e623e13068035a3443667b2110fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: add gcc flags to improve hardening
Author: Giovani Augusto Ferreira <giovani@debian.org>
Last-Update: 2019-12-26

--- steghide-0.5.1.orig/src/Makefile.am
+++ steghide-0.5.1/src/Makefile.am
@@ -1,7 +1,7 @@
 if USE_INTLDIR
-AM_CPPFLAGS = -I../intl -DLOCALEDIR=\"$(localedir)\"
+AM_CPPFLAGS = -g -fstack-protector-strong -Wformat -Werror=format-security -I../intl -DLOCALEDIR=\"$(localedir)\"
 else
-AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"
+AM_CPPFLAGS = -g -fstack-protector-strong -Wformat -Werror=format-security -DLOCALEDIR=\"$(localedir)\"
 endif
 bin_PROGRAMS = steghide
 noinst_HEADERS = \