From 726973dcd581724dd52979612c52562f162102b0 Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Wed, 1 Jun 2011 21:31:22 +0100 Subject: [PATCH] glibc hates stripping --- Makefile | 4 ++-- config.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d58991a..f7a9075 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,8 @@ cat.o grep.o tail.o: text.h @$(CC) -c -o $@ $< $(CFLAGS) util.a: $(LIB) - @echo AR rc $@ - @$(AR) rc $@ $(LIB) + @echo AR -r $@ + @$(AR) -r -c $@ $(LIB) dist: clean @echo creating dist tarball diff --git a/config.mk b/config.mk index 2a9a747..4115ac3 100644 --- a/config.mk +++ b/config.mk @@ -6,7 +6,7 @@ VERSION = 0.0 LD = $(CC) CPPFLAGS = -D_POSIX_C_SOURCE=200112L CFLAGS = -Os -ansi -Wall -pedantic $(CPPFLAGS) -LDFLAGS = -s -static +LDFLAGS = -static #-s #CC = tcc #LD = $(CC)