ensure that musl is compiled as C99 code & XSI option is available in headers

This commit is contained in:
Rich Felker 2011-02-13 16:48:39 -05:00
parent e1d8d25a50
commit 6027201e5a

View File

@ -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