From 201b94b005c08143856937d72b76b7ef57553ab0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 10 Aug 2024 16:38:16 +0200 Subject: Use cc -std=c11 as default value of CC as CC is otherwise c99 by default and incompatible with -std=c11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- config.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.mk b/config.mk index c675775..4e57b52 100644 --- a/config.mk +++ b/config.mk @@ -1,6 +1,8 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man +CC = cc -std=c11 + CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -CFLAGS = -std=c11 -O2 +CFLAGS = -O2 LDFLAGS = -s -- cgit v1.2.3-70-g09d2