mirror of
git://git.musl-libc.org/musl
synced 2024-11-27 03:53:58 +08:00
ensure that musl is compiled as C99 code & XSI option is available in headers
This commit is contained in:
parent
e1d8d25a50
commit
6027201e5a
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user