File: Makefile

package info (click to toggle)
f3 4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 188 kB
  • ctags: 88
  • sloc: ansic: 809; makefile: 43; sh: 7
file content (20 lines) | stat: -rw-r--r-- 481 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: add GCC hardening.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2014-09-19
Index: f3-4.0/Makefile
===================================================================
--- f3-4.0.orig/Makefile
+++ f3-4.0/Makefile
@@ -6,10 +6,10 @@ TARGETS = f3write f3read
 all: $(TARGETS)
 
 f3write: utils.o f3write.o
-	$(CC) -o $@ $^ -lm
+	$(CC) $(LDFLAGS) -o $@ $^ -lm
 
 f3read: utils.o f3read.o
-	$(CC) -o $@ $^
+	$(CC) $(LDFLAGS) -o $@ $^
 
 -include *.d