more header cleanup and conformance fixes - locale.h, time.h
[musl] / Makefile
index e4235cb..e9dbdf7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ OBJS = $(SRCS:.c=.o)
 LOBJS = $(OBJS:.o=.lo)
 GENH = include/bits/alltypes.h
 
-CFLAGS  = -Os -nostdinc -ffreestanding -pipe
+CFLAGS  = -Os -nostdinc -ffreestanding -std=c99 -D_XOPEN_SOURCE=700 -pipe
 LDFLAGS = -nostdlib -shared -Wl,-Bsymbolic
 INC     = -I./include -I./src/internal
 PIC     = -fPIC