Be less hardcore and don't use -Werror - sinit - suckless init | |
git clone git://git.suckless.org/sinit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 4c0a1d87a4d611711896c6fa45978c66cc25d3f3 | |
parent 7a2bb2cc6b306ca39e787175027814b23a4ac99a | |
Author: sin <[email protected]> | |
Date: Wed, 9 Apr 2014 22:01:30 +0100 | |
Be less hardcore and don't use -Werror | |
Use -Wno-unused-result as the compiler produces false positives. | |
Diffstat: | |
M config.mk | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/config.mk b/config.mk | |
@@ -8,5 +8,5 @@ MANPREFIX = $(PREFIX)/man | |
CC = cc | |
LD = $(CC) | |
CPPFLAGS = | |
-CFLAGS = -Wextra -Werror -Wall -Os $(CPPFLAGS) | |
+CFLAGS = -Wextra -Wall -Wno-unused-result -Os $(CPPFLAGS) | |
LDFLAGS = -static |