File: hardening

package info (click to toggle)
nast 0.2.0-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,788 kB
  • sloc: ansic: 7,516; sh: 2,768; makefile: 64
file content (38 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- a/configure.ac
+++ b/configure.ac
@@ -149,13 +149,13 @@ case "$target" in
 
 	]))
 	
-	CFLAGS="-Wall -O2"
+	CFLAGS="${CFLAGS} -Wall -O2"
 	;;
 *bsd*)
-	CFLAGS="-Wall -O2 -pthread"
+	CFLAGS="${CFLAGS} -Wall -O2 -pthread"
 	;;
 *gnu*)
-	CFLAGS="-Wall -O2 -pthread"
+	CFLAGS="${CFLAGS} -Wall -O2 -pthread"
 	;;
 esac	
 
--- a/configure
+++ b/configure
@@ -2905,13 +2905,13 @@ echo "$as_me: error:
 fi
 
 
-	CFLAGS="-Wall -O2"
+	CFLAGS="${CFLAGS} -Wall -O2"
 	;;
 *bsd*)
-	CFLAGS="-Wall -O2 -pthread"
+	CFLAGS="${CFLAGS} -Wall -O2 -pthread"
 	;;
 *gnu*)
-	CFLAGS="-Wall -O2 -pthread"
+	CFLAGS="${CFLAGS} -Wall -O2 -pthread"
 	;;
 esac