Package: netcat / 1.10-41

655881-Makefile-LDFLAGS.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: netcat-1.10/Makefile
===================================================================
--- netcat-1.10.orig/Makefile
+++ netcat-1.10/Makefile
@@ -15,7 +15,7 @@ XLIBS =		# xtra libs if necessary?
 # -Bstatic for sunos,  -static for gcc, etc.  You want this, trust me.
 STATIC =
 CC = gcc $(CFLAGS)
-LD = $(CC)	# linker; defaults to unstripped executables
+LD = $(CC) $(LDFLAGS)	# linker; defaults to unstripped executables
 o = o		# object extension
 
 ALL = nc