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:
parent
08403461a9
commit
ee7d764ba2
1 changed files with 4 additions and 0 deletions
|
@ -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 $@ $<
|
||||
|
|
Loading…
Add table
Reference in a new issue