Package: xfrisk / 1.2-6

pass-hardening-flags.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Don't override default CFLAGS and LDFLAGS.
Author: Axel Beckert <abe@debian.org>

--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@
 # GNU gcc is recommended.
 CC=gcc
 # Use these with gcc
-CFLAGS=-g -Wall -W -fno-common -pedantic
+CFLAGS+=-Wall -W -fno-common -pedantic
 
 # If you don't have gcc, don't use -Wall -W -fno-common
 #CFLAGS=-g
@@ -80,7 +80,7 @@
 #CFLAGS+=-DTEST_GAME
 
 ## Initial linker options
-LDFLAGS=
+#LDFLAGS=
 
 ## Installation prefix
 # Adjust to taste. Stuff gets installed here.