about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-13 16:48:39 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-13 16:48:39 -0500
commit6027201e5a7c810b3073c85f7373aae84b303ba3 (patch)
tree139a5c9f845bb784dfbaf8bfe063aae1cc67ba64
parente1d8d25a5024ec7832250e62825aab71ed8a253d (diff)
downloadmusl-6027201e5a7c810b3073c85f7373aae84b303ba3.tar.gz
musl-6027201e5a7c810b3073c85f7373aae84b303ba3.tar.xz
musl-6027201e5a7c810b3073c85f7373aae84b303ba3.zip
ensure that musl is compiled as C99 code & XSI option is available in headers
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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