From a265511bd974017c349e9806c4d6dcbbc4f83c21 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 8 Jul 2022 11:39:21 +0200 Subject: Update to C11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- config-coverage-gcc.mk | 2 +- config.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config-coverage-gcc.mk b/config-coverage-gcc.mk index 18de147..80c21b6 100644 --- a/config-coverage-gcc.mk +++ b/config-coverage-gcc.mk @@ -1,7 +1,7 @@ CONFIGFILE_PROPER = config.mk include $(CONFIGFILE_PROPER) -CC = $(CC_PREFIX)gcc -std=c99 +CC = $(CC_PREFIX)gcc -std=c11 GCOV = gcov CFLAGS = -g -O0 -pedantic -fprofile-arcs -ftest-coverage diff --git a/config.mk b/config.mk index 9ec13d4..b398655 100644 --- a/config.mk +++ b/config.mk @@ -1,7 +1,7 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man -CC = c99 +CC = c11 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 CFLAGS = -Wall -O3 -msse4 -msha -- cgit v1.2.3-70-g09d2