summaryrefslogtreecommitdiff
blob: 55e447d4103698e7f8d6bdb183714a5007ee2524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --exclude-from=/home/dang/.diffrc -u -ruN tools-20060216.orig/uml_net/Makefile tools-20060216/uml_net/Makefile
--- tools-20060216.orig/uml_net/Makefile	2006-02-16 12:02:02.000000000 -0500
+++ tools-20060216/uml_net/Makefile	2006-08-13 20:35:35.000000000 -0400
@@ -2,6 +2,7 @@
 
 BIN = uml_net
 CFLAGS ?= -g -Wall
+LDFLAGS = -Wl,-z,now
 override CFLAGS += $(TUNTAP)
 
 BIN_DIR ?= /usr/bin
@@ -15,7 +16,7 @@
 all : $(BIN)
 
 $(BIN) : $(OBJS)
-	$(CC) $(CFLAGS) -o $(BIN) $(OBJS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $(BIN) $(OBJS)
 
 clean : 
 	rm -f $(BIN) $(OBJS) *~