Fix linker flags
This commit is contained in:
parent
519f06e281
commit
08f74b5603
1 changed files with 1 additions and 4 deletions
|
@ -205,16 +205,13 @@ tincd_LDADD += $(MINIUPNPC_LIBS)
|
||||||
tincd_LDFLAGS = ${tincd_LDFLAGS} -pthread
|
tincd_LDFLAGS = ${tincd_LDFLAGS} -pthread
|
||||||
endif
|
endif
|
||||||
|
|
||||||
tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
|
|
||||||
sptps_speed_LDADD = -lrt
|
|
||||||
|
|
||||||
LIBS = @LIBS@ -lm
|
LIBS = @LIBS@ -lm
|
||||||
|
|
||||||
if TUNEMU
|
if TUNEMU
|
||||||
LIBS += -lpcap
|
LIBS += -lpcap
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote.
|
AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote. -fsanitize=undefined
|
||||||
if OPENBSD
|
if OPENBSD
|
||||||
AM_CFLAGS += -fstack-protector-all
|
AM_CFLAGS += -fstack-protector-all
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue