summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2020-12-19 19:50:01 +0100
committerGuido Cella <guido@guidocella.xyz>2020-12-19 19:52:28 +0100
commit0b2f4f213dc142824aac31e78ee32fb888fbb765 (patch)
treee4af0cf7eba82155d124301aa8d1ed01b96279b0 /Makefile
parentba1540c3d006eb001e45e3b9315a00c9c599d2cc (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3d3028f..620d287 100644
--- a/Makefile
+++ b/Makefile
@@ -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)