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!

This commit is contained in:
skarg
2015-06-03 18:43:07 +00:00
parent 8cae75b5d2
commit 1d4a51bc5a
+1 -1
View File
@@ -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