From: Rich Felker Date: Sun, 13 Feb 2011 21:48:39 +0000 (-0500) Subject: ensure that musl is compiled as C99 code & XSI option is available in headers X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=6027201e5a7c810b3073c85f7373aae84b303ba3;p=musl ensure that musl is compiled as C99 code & XSI option is available in headers --- diff --git a/Makefile b/Makefile index e4235cb5..e9dbdf7f 100644 --- 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