Build in C11 mode on Linux.
This commit is contained in:
parent
36a5c16dd2
commit
f152bf633e
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -24,6 +24,7 @@ UNAME := $(shell uname)
|
|||
|
||||
ifeq ($(UNAME), Linux)
|
||||
LIBS+=-lrt
|
||||
CFLAGS+=-std=c11 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=200809L
|
||||
endif
|
||||
ifeq ($(UNAME), Darwin)
|
||||
# TODO: Putting GCC in C11 mode breaks things.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue