[hackers] [sbase] Use -std=c99 by default || sin

From: <git_AT_suckless.org>
Date: Sat, 31 May 2014 18:56:43 +0200

commit 07dd658f0d04c42015c3f102cbeeb17d16bedd65
Author: sin <sin_AT_2f30.org>
Date: Sat May 31 17:55:25 2014 +0100

    Use -std=c99 by default
    
    Note, the code is largely c89 clean. This is to avoid certain
    warnings on some systems (OSX).

diff --git a/config.mk b/config.mk
index 078cf5e..2967eed 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -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
Received on Sat May 31 2014 - 18:56:43 CEST

This archive was generated by hypermail 2.3.0 : Sat May 31 2014 - 19:00:10 CEST