Package: emmax / 0~beta.20100307-6

hardening.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Andreas Tille <tille@debian.org>
Last-Update: 2019-03-20
Description: Propagate hardening options (unfortunately this does not help)

--- a/makefile
+++ b/makefile
@@ -5,9 +5,9 @@
 INCFLAGS = 
 LIBFLAGS = -Wall
 
-COMPFLAGS = ${INCFLAGS} -O2 -Wall -g
+COMPFLAGS = ${INCFLAGS} -O2 -Wall -g  $(CFLAGS) $(CPPFLAGS)
 CC = gcc
-CLIBS = -L/usr/lib/atlas-base -L/usr/lib/lapack/ -llapack_atlas -llapack -lcblas -lblas -latlas -lcblas -lm -lz
+CLIBS = -L/usr/lib/atlas-base -L/usr/lib/lapack/ -llapack_atlas -llapack -lcblas -lblas -latlas -lcblas -lm -lz $(LDFLAGS)
 
 all: emmax emmax-kin