Use -std=c99 by default
Note, the code is largely c89 clean. This is to avoid certain warnings on some systems (OSX).
This commit is contained in:
parent
69cde23703
commit
07dd658f0d
|
@ -9,7 +9,7 @@ MANPREFIX = $(PREFIX)/share/man
|
||||||
#CC = musl-gcc
|
#CC = musl-gcc
|
||||||
LD = $(CC)
|
LD = $(CC)
|
||||||
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
|
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
|
LDFLAGS = -g
|
||||||
|
|
||||||
#CC = tcc
|
#CC = tcc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user