Browse Source

fix bug #46091: unix port needs to link with rt for clock_gettime

master
sg 11 years ago
parent
commit
f59334e6f0
  1. 2
      ports/unix/proj/Common.mk

2
ports/unix/proj/Common.mk

@ -45,7 +45,7 @@ CFLAGS=-g -Wall -DLWIP_UNIX_$(UNIXARCH) -DLWIP_DEBUG -pedantic -Werror \
# -Wpacked
# -ansi
# -std=c89
LDFLAGS=-pthread -lutil
LDFLAGS=-pthread -lutil -lrt
CONTRIBDIR=../../../..
LWIPARCH=$(CONTRIBDIR)/ports/unix
ARFLAGS=rs

Loading…
Cancel
Save