From 08f74b560326bb2c449f670df1da16d485669e4d Mon Sep 17 00:00:00 2001 From: thorkill Date: Fri, 27 Nov 2015 17:51:34 +0100 Subject: [PATCH] Fix linker flags --- src/Makefile.am | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index a64fd312..94134c94 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -205,16 +205,13 @@ tincd_LDADD += $(MINIUPNPC_LIBS) tincd_LDFLAGS = ${tincd_LDFLAGS} -pthread endif -tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS) -sptps_speed_LDADD = -lrt - LIBS = @LIBS@ -lm if TUNEMU LIBS += -lpcap endif -AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote. +AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote. -fsanitize=undefined if OPENBSD AM_CFLAGS += -fstack-protector-all endif