Remove -Wno-unused-result and add -s - sinit - suckless init | |
git clone git://git.suckless.org/sinit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit fd3f3ff9ee28e5f9e1b34beb2f2b8a8d79cbedca | |
parent 542049d495c3b7605915bdd5151a3e0fcc5c7999 | |
Author: sin <[email protected]> | |
Date: Sun, 17 Aug 2014 22:17:07 +0100 | |
Remove -Wno-unused-result and add -s | |
Diffstat: | |
M config.mk | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/config.mk b/config.mk | |
@@ -8,5 +8,5 @@ MANPREFIX = $(PREFIX)/share/man | |
CC = cc | |
LD = $(CC) | |
CPPFLAGS = | |
-CFLAGS = -Wextra -Wall -Wno-unused-result -Os $(CPPFLAGS) | |
-LDFLAGS = -static | |
+CFLAGS = -Wextra -Wall -Os $(CPPFLAGS) | |
+LDFLAGS = -s -static |