diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-02-13 16:48:39 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-02-13 16:48:39 -0500 |
commit | 6027201e5a7c810b3073c85f7373aae84b303ba3 (patch) | |
tree | 139a5c9f845bb784dfbaf8bfe063aae1cc67ba64 /Makefile | |
parent | e1d8d25a5024ec7832250e62825aab71ed8a253d (diff) | |
download | musl-6027201e5a7c810b3073c85f7373aae84b303ba3.tar.gz musl-6027201e5a7c810b3073c85f7373aae84b303ba3.tar.xz musl-6027201e5a7c810b3073c85f7373aae84b303ba3.zip |
ensure that musl is compiled as C99 code & XSI option is available in headers
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
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 |