From 07dd658f0d04c42015c3f102cbeeb17d16bedd65 Mon Sep 17 00:00:00 2001 From: sin Date: Sat, 31 May 2014 17:55:25 +0100 Subject: [PATCH] Use -std=c99 by default Note, the code is largely c89 clean. This is to avoid certain warnings on some systems (OSX). --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 078cf5e..2967eed 100644 --- a/config.mk +++ b/config.mk @@ -9,7 +9,7 @@ MANPREFIX = $(PREFIX)/share/man #CC = musl-gcc LD = $(CC) CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE -CFLAGS = -g -ansi -Wall -Wno-long-long -pedantic $(CPPFLAGS) +CFLAGS = -g -std=c99 -Wall -pedantic $(CPPFLAGS) LDFLAGS = -g #CC = tcc