Package: avce00 / 2.0.0-5

GNUmakefile.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Enable the hardening flags when linking
Author: Johan Van de Wauw <johan.vandewauw@gmail.com>

--- avce00-2.0.0.orig/GNUmakefile
+++ avce00-2.0.0/GNUmakefile
@@ -70,8 +70,8 @@ OPTFLAGS := $(OPTFLAGS) -DAVC_MAP_TYPE40_TO_DOUBLE
 #
 #  
 #
-CFLAGS= $(BYTE_ORDER_FL) $(OPTFLAGS) -g -Wall -DDEBUG
-LFLAGS= 
+CFLAGS+= $(CPPFLAGS) $(BYTE_ORDER_FL) $(OPTFLAGS) -g -Wall -DDEBUG
+LFLAGS=$(LDFLAGS) 
 AR= ar
 
 LIB_OBJS= avc_e00read.o avc_e00write.o avc_rawbin.o avc_bin.o avc_binwr.o \