Procházet zdrojové kódy

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

Rich Felker před 14 roky
rodič
revize
6027201e5a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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