aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-03-30 02:29:28 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-03-30 02:29:28 +0530
commitc78e3bf14f0105234d52a8a0f1fc0548309949da (patch)
tree204c03557c95d64725cb6cb1194e70dee0c0ddc4
parent98e3f22cb4960d026649807e7dfd9048ea452a46 (diff)
downloadnnn-c78e3bf14f0105234d52a8a0f1fc0548309949da.tar.gz
strip binary
-rw-r--r--Makefile1
-rw-r--r--README.md1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6705c3a..bd67f31 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 9f8e03c..63009e4 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