From d136dadf456250f9a4cef23abd1fdf21518a31ba Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Thu, 1 Aug 2024 20:38:57 -0600 Subject: `-pedantic` -> `-Wpedantic` Bug: https://codeberg.org/dwl/dwl/issues/584 --- config.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index 1d5ac38..99ccc63 100644 --- a/config.mk +++ b/config.mk @@ -14,4 +14,7 @@ XLIBS = #XWAYLAND = -DXWAYLAND #XLIBS = xcb xcb-icccm -CC = gcc +# dwl itself only uses C99 features, but wlroots' headers use anonymous unions (C11). +# To avoid warnings about them, we do not use -std=c99 and instead of using the +# gmake default 'CC=c99', we use cc. +CC = cc -- cgit v1.2.3