ソースを参照

ensure that musl is compiled as C99 code & XSI option is available in headers

Rich Felker 14 年 前
コミット
6027201e5a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Makefile

+ 1 - 1
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