1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

the usage of LwIP in "user-space" requires the definition of _POSIX_SOURCE

This commit is contained in:
Stefan Lankes 2016-01-10 20:25:58 +01:00
parent 08403461a9
commit ee7d764ba2

View file

@ -75,6 +75,10 @@ RCCE_pingpong: RCCE_pingpong.o
$Q$(OBJCOPY_FOR_TARGET) $(STRIP_DEBUG) $@
$Qchmod a-x $@.sym
netio.o: netio.c
@echo [CC] $@
$Q$(CC_FOR_TARGET) -c $(CFLAGS_FOR_TARGET) -D_POSIX_SOURCE -o $@ $<
netio: netio.o
@echo [LD] $@
$Q$(CC_FOR_TARGET) $(LDFLAGS_FOR_TARGET) $(CFLAGS_FOR_TARGET) -o $@ $<