glibc hates stripping
This commit is contained in:
parent
97b6c267ce
commit
726973dcd5
4
Makefile
4
Makefile
|
@ -26,8 +26,8 @@ cat.o grep.o tail.o: text.h
|
||||||
@$(CC) -c -o $@ $< $(CFLAGS)
|
@$(CC) -c -o $@ $< $(CFLAGS)
|
||||||
|
|
||||||
util.a: $(LIB)
|
util.a: $(LIB)
|
||||||
@echo AR rc $@
|
@echo AR -r $@
|
||||||
@$(AR) rc $@ $(LIB)
|
@$(AR) -r -c $@ $(LIB)
|
||||||
|
|
||||||
dist: clean
|
dist: clean
|
||||||
@echo creating dist tarball
|
@echo creating dist tarball
|
||||||
|
|
|
@ -6,7 +6,7 @@ VERSION = 0.0
|
||||||
LD = $(CC)
|
LD = $(CC)
|
||||||
CPPFLAGS = -D_POSIX_C_SOURCE=200112L
|
CPPFLAGS = -D_POSIX_C_SOURCE=200112L
|
||||||
CFLAGS = -Os -ansi -Wall -pedantic $(CPPFLAGS)
|
CFLAGS = -Os -ansi -Wall -pedantic $(CPPFLAGS)
|
||||||
LDFLAGS = -s -static
|
LDFLAGS = -static #-s
|
||||||
|
|
||||||
#CC = tcc
|
#CC = tcc
|
||||||
#LD = $(CC)
|
#LD = $(CC)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user