From 9e86930c227028d8b4caa043ce9653645405824e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Tue, 28 Jun 2016 19:38:43 +0000 Subject: psxstub: removes local patch (committed upstream;) rm(1) libpsxscl.a when installing (fixes static linking.) bash v4.3 and coreutils v8.23: link statically. nc (netcat) v110: pass ${C,LDFLAGS} correctly. --- nc110.local.patch | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'nc110.local.patch') diff --git a/nc110.local.patch b/nc110.local.patch index 92976f94..052ef4f6 100644 --- a/nc110.local.patch +++ b/nc110.local.patch @@ -1,5 +1,29 @@ --- nc110/Makefile.orig 1996-03-20 03:16:06.000000000 +0000 -+++ nc110/Makefile 2016-06-15 18:44:05.819382228 +0000 ++++ nc110/Makefile 2016-06-28 17:26:50.985424240 +0000 +@@ -9,12 +9,12 @@ + # pick gcc if you'd rather , and/or do -g instead of -O if debugging + # debugging + # DFLAGS = -DTEST -DDEBUG +-CFLAGS = -O ++CFLAGS = -O $(CFLAGS_EXTRA) + XFLAGS = # xtra cflags, set by systype targets + XLIBS = # xtra libs if necessary? + # -Bstatic for sunos, -static for gcc, etc. You want this, trust me. + STATIC = +-CC = cc $(CFLAGS) ++CC = cc ${CFLAGS} + LD = $(CC) -s # linker; defaults to stripped executables + o = o # object extension + +@@ -28,7 +28,7 @@ + ### HARD TARGETS + + nc: netcat.c +- $(LD) $(DFLAGS) $(XFLAGS) $(STATIC) -o nc netcat.c $(XLIBS) ++ $(LD) $(CFLAGS) $(LDFLAGS) $(DFLAGS) $(XFLAGS) $(STATIC) -o nc netcat.c $(XLIBS) + + nc-dos: + @echo "DOS?! Maybe someday, but not now" @@ -109,6 +109,10 @@ next: make -e $(ALL) $(MFLAGS) XFLAGS='-DNEXT' STATIC=-Bstatic -- cgit v1.2.3