[hackers] [sbase] use CC for sbase-box, remove LD || Evan Gates

From: <git_AT_suckless.org>
Date: Thu, 3 Sep 2015 20:18:04 +0200 (CEST)

commit 51009a9600fcff1f842c9fdc69a93a7ec98b3c27
Author: Evan Gates <evan.gates_AT_gmail.com>
AuthorDate: Thu Sep 3 11:07:16 2015 -0700
Commit: sin <sin_AT_2f30.org>
CommitDate: Thu Sep 3 19:17:59 2015 +0100

    use CC for sbase-box, remove LD

diff --git a/Makefile b/Makefile
index d5d230b..c5cb2e4 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -218,7 +218,7 @@ sbase-box: $(LIB) $(SRC)
         echo 'else { fputs("[ ", stdout);' >> build/$_AT_.c
         for f in $(SRC); do echo "fputs(\"$${f%.c} \", stdout);"; done >> build/$_AT_.c
         echo 'putchar(0xa); }; return 0; }' >> build/$_AT_.c
- $(LD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $_AT_ build/*.c $(LIB)
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $_AT_ build/*.c $(LIB)
         rm -r build
 
 sbase-box-install: sbase-box
diff --git a/config.mk b/config.mk
index 4251cd6..373e20d 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -6,7 +6,6 @@ PREFIX = /usr/local
 MANPREFIX = $(PREFIX)/share/man
 
 CC = cc
-LD = $(CC)
 AR = ar
 RANLIB = ranlib
 
Received on Thu Sep 03 2015 - 20:18:04 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 03 2015 - 20:24:11 CEST