From 1d4a51bc5a0d4dd5af8810e34a0c5d8a7d0ff8ef Mon Sep 17 00:00:00 2001 From: skarg Date: Wed, 3 Jun 2015 18:43:07 +0000 Subject: [PATCH] Removed the "-lgcc" from the SYSTEM_LIB parameter in the BSD section of ./demo/Makefile. Nate verified that with this change and BACNET_PORT=bsd, it builds correctly on FreeBSD, OpenBSD, and OS X 10.10 using the default compiler (clang). This tweak shouldn't affect builds on other platforms. Thanks, Nate! --- bacnet-stack/demo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/demo/Makefile b/bacnet-stack/demo/Makefile index 2fb41e5c..6bd69a8f 100644 --- a/bacnet-stack/demo/Makefile +++ b/bacnet-stack/demo/Makefile @@ -35,7 +35,7 @@ endif ifeq (${BACNET_PORT},bsd) PFLAGS = -pthread TARGET_EXT = -SYSTEM_LIB=-lc,-lgcc,-lm +SYSTEM_LIB=-lc,-lm endif ifeq (${BACNET_PORT},win32) TARGET_EXT = .exe