Enable INET6 by default in helloworld.

This commit is contained in:
fengbojiang 2022-09-02 20:20:05 +08:00
parent c91bb17702
commit 51c91ab0ad
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ LIBS+= -Wl,--no-whole-archive -lrt -lm -ldl -lcrypto -pthread -lnuma
TARGET="helloworld"
all:
cc ${CFLAGS} -o ${TARGET} main.c ${LIBS}
cc ${CFLAGS} -DINET6 -o ${TARGET} main.c ${LIBS}
cc ${CFLAGS} -o ${TARGET}_epoll main_epoll.c ${LIBS}
.PHONY: clean