From 6027201e5a7c810b3073c85f7373aae84b303ba3 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 13 Feb 2011 16:48:39 -0500 Subject: ensure that musl is compiled as C99 code & XSI option is available in headers --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1