remove -Werror=declaration-after-statement

wtf is the point of this crap? It makes the code harder to follow,
increases the line count and made me fail compilation a million times.
We shouldn't blindy follow everything about suckless's style.
This commit is contained in:
Guido Cella
2020-12-19 19:50:01 +01:00
parent ba1540c3d0
commit 0b2f4f213d
2 changed files with 151 additions and 163 deletions

View File

@@ -1,6 +1,6 @@
include config.mk
CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 -Werror=declaration-after-statement
CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99
WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols)
WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner)