summarylogtreecommitdiffstats
path: root/gnu17.patch
blob: ffa21d74942d8ba81c5a92596e772da478abd9ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/Makefile b/Makefile
index 71ac623..53c3eb2 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ MANDIR=$(PREFIX)/share/man
 BASHCOMPDIR=$(PREFIX)/share/bash-completion/completions
 ZSHCOMPDIR=$(PREFIX)/share/zsh/vendor-completions
 
-CFLAGS=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion $\
+CFLAGS=-std=gnu17 -Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion $\
 	-Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion $\
 	-Wunused-result $(shell pkg-config --cflags pixman-1)
 LIBS=-lwayland-client $(shell pkg-config --libs pixman-1) -lrt