[hackers] [ubase] Use CC for ubase-box, remove LD || sin
commit 570a2bf4ce82a5836351f8b806ba53c2adff8692
Author: sin <sin_AT_2f30.org>
AuthorDate: Thu Sep 3 19:56:12 2015 +0100
Commit: sin <sin_AT_2f30.org>
CommitDate: Thu Sep 3 19:57:21 2015 +0100
Use CC for ubase-box, remove LD
diff --git a/Makefile b/Makefile
index f35e9f9..14af4f6 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -200,7 +200,7 @@ ubase-box: $(LIB) $(SRC)
echo 'else {' >> build/$_AT_.c
for f in $(SRC); do echo "printf(\"`basename $$f .c`\"); putchar(' ');" >> build/$_AT_.c; done
echo "putchar(0xa); }; return 0; }" >> build/$_AT_.c
- $(LD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $_AT_ build/*.c $(LIB) $(LDLIBS)
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $_AT_ build/*.c $(LIB) $(LDLIBS)
rm -r build
ubase-box-install: ubase-box
diff --git a/config.mk b/config.mk
index d073f56..245a590 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:57:26 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 03 2015 - 21:00:14 CEST