From 1303053a27f01fe712fa48ba163a79d9786ed24c Mon Sep 17 00:00:00 2001 From: jfreegman Date: Thu, 29 Oct 2020 19:29:28 -0400 Subject: [PATCH] Use c99 standard instead of gnu99 No gnu99 extensions are used or will be used --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 719cc1e..4326556 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ CFG_DIR = $(BASE_DIR)/cfg LIBS = toxcore ncursesw libconfig libcurl CFLAGS ?= -g -CFLAGS += -std=gnu99 -pthread -Wall -Wpedantic -Wunused -fstack-protector-all +CFLAGS += -std=c99 -pthread -Wall -Wpedantic -Wunused -fstack-protector-all CFLAGS += '-DTOXICVER="$(VERSION)"' -DHAVE_WIDECHAR -D_XOPEN_SOURCE_EXTENDED -D_FILE_OFFSET_BITS=64 CFLAGS += '-DPACKAGE_DATADIR="$(abspath $(DATADIR))"' CFLAGS += ${USER_CFLAGS}