]> Sergey Matveev's repositories - nnn.git/commitdiff
strip binary
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 29 Mar 2017 20:59:28 +0000 (02:29 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 29 Mar 2017 20:59:28 +0000 (02:29 +0530)
Makefile
README.md

index 6705c3af78e4a03c865f16adb3e0a1bae9708e68..bd67f31d04eecafe337016d5404149898a701c5c 100644 (file)
--- 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
index 9f8e03ce8b45833de31485ab651081b9be1206c7..63009e4d0d6bbbfb5a0d7d5c6cd8b67eea9fdac8 100644 (file)
--- 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