BSD makefile fix for OpenBSD.

This commit is contained in:
Adam Ierymenko 2017-04-21 08:42:45 -07:00
parent 8b0ce1cc00
commit 76108671f6

View File

@ -122,7 +122,7 @@ ifeq ($(ZT_USE_ARM32_NEON_ASM_SALSA2012),1)
override OBJS+=ext/arm32-neon-salsa2012-asm/salsa2012.o
endif
DEFS+=-DZT_BUILD_PLATFORM=$(ZT_BUILD_PLATFORM) -DZT_BUILD_ARCHITECTURE=$(ZT_ARCHITECTURE) -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\""
override DEFS+=-DZT_BUILD_PLATFORM=$(ZT_BUILD_PLATFORM) -DZT_BUILD_ARCHITECTURE=$(ZT_ARCHITECTURE) -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\""
CXXFLAGS+=$(CFLAGS) -fno-rtti -std=c++11 #-D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH -D_GLIBCXX_USE_C99_MATH_TR1