File: 20_improve-GCC-hardening.patch

package info (click to toggle)
ocaml-libvirt 0.6.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 748 kB
  • ctags: 400
  • sloc: sh: 2,990; ansic: 2,556; ml: 1,967; perl: 649; makefile: 249
file content (15 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: add CPPFLAGS to improve the hardening.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2016-12-18
Index: ocaml-libvirt-0.6.1.4/libvirt/Makefile.in
===================================================================
--- ocaml-libvirt-0.6.1.4.orig/libvirt/Makefile.in
+++ ocaml-libvirt-0.6.1.4/libvirt/Makefile.in
@@ -23,6 +23,7 @@ CFLAGS		= @CFLAGS@ \
 		   @DEBUG@ @WARNINGS@ @CFLAGS_FPIC@
 LDFLAGS		= @LDFLAGS@
 #		   -L"$(shell ocamlc -where)"
+CPPFLAGS	= @CPPFLAGS@ -D_FORTIFY_SOURCE=2
 
 OCAMLC		= @OCAMLC@
 OCAMLOPT	= @OCAMLOPT@