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:
@@ -35,7 +35,7 @@ endif
|
|||||||
ifeq (${BACNET_PORT},bsd)
|
ifeq (${BACNET_PORT},bsd)
|
||||||
PFLAGS = -pthread
|
PFLAGS = -pthread
|
||||||
TARGET_EXT =
|
TARGET_EXT =
|
||||||
SYSTEM_LIB=-lc,-lgcc,-lm
|
SYSTEM_LIB=-lc,-lm
|
||||||
endif
|
endif
|
||||||
ifeq (${BACNET_PORT},win32)
|
ifeq (${BACNET_PORT},win32)
|
||||||
TARGET_EXT = .exe
|
TARGET_EXT = .exe
|
||||||
|
|||||||
Reference in New Issue
Block a user