From c78e3bf14f0105234d52a8a0f1fc0548309949da Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 30 Mar 2017 02:29:28 +0530 Subject: [PATCH] strip binary --- Makefile | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 6705c3af..bd67f31d 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ all: $(BIN) $(BIN): $(OBJ) $(CC) $(CFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(LDLIBS) + strip $(BIN) noice.o: util.h config.h strlcat.o: util.h diff --git a/README.md b/README.md index 9f8e03ce..63009e4d 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ I chose to fork noice because: - Use `-O3` for compilation, fixed warnings - Added compilation flag `-march=native` - Remove generated config.h on `make clean` + - strip the final binary ### Installation