Use CC for ubase-box, remove LD - ubase - suckless linux base utils | |
git clone git://git.suckless.org/ubase | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 570a2bf4ce82a5836351f8b806ba53c2adff8692 | |
parent 52a0874624fcd53f76ef0d2caa82c0463ab93303 | |
Author: sin <[email protected]> | |
Date: Thu, 3 Sep 2015 19:56:12 +0100 | |
Use CC for ubase-box, remove LD | |
Diffstat: | |
M Makefile | 2 +- | |
M config.mk | 1 - | |
2 files changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -200,7 +200,7 @@ ubase-box: $(LIB) $(SRC) | |
echo 'else {' >> build/[email protected] | |
for f in $(SRC); do echo "printf(\"`basename $$f .c`\"); putchar(' ');… | |
echo "putchar(0xa); }; return 0; }" >> build/[email protected] | |
- $(LD) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ build/*.c $(LIB) $(LDLIBS) | |
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ build/*.c $(LIB) $(LDLIBS) | |
rm -r build | |
ubase-box-install: ubase-box | |
diff --git a/config.mk b/config.mk | |
@@ -6,7 +6,6 @@ PREFIX = /usr/local | |
MANPREFIX = $(PREFIX)/share/man | |
CC = cc | |
-LD = $(CC) | |
AR = ar | |
RANLIB = ranlib | |