File: harden.patch

package info (click to toggle)
g2clib 1.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 696 kB
  • sloc: ansic: 5,536; makefile: 449
file content (18 lines) | stat: -rw-r--r-- 573 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Ensure flags are passed from rules so that hardened library is built
Forwarded: not-needed
Last-Updated: 2013-05-28

Index: g2clib-1.6.2/makefile
===================================================================
--- g2clib-1.6.2.orig/makefile
+++ g2clib-1.6.2/makefile
@@ -25,7 +25,7 @@ DEFS=-DUSE_JPEG2000 -DUSE_PNG
 #   appropriate compiler flag to allow the use of "//" comment indicators.
 #
 
-CFLAGS= -O3 -g -m64 $(INC) $(DEFS) -D__64BIT__
+CFLAGS:= -O3 -g  $(INC) $(DEFS) -D__64BIT__
 
 PIC:= -fPIC