test: fix googletest build (no inline htonl() etc when used as template arg)

This commit is contained in:
Ralph Lange
2013-01-11 17:29:47 +01:00
parent 3610474fbb
commit d277cd8bb0

View File

@@ -6,8 +6,11 @@ ifdef GTEST
PROD_HOST += testUtils
testUtils_SRCS += hexDumpTest.cpp
testUtils_SRCS += inetAddressUtilsTest.cpp
# Avoid errors from inlined htonl() etc. used as template argument
inetAddressUtilsTest_CXXFLAGS=-O0
testUtils_SRCS += atomicBooleanTest.cpp
testUtils_LIBS += pvAccess pvData Com gtest_main
gtest_main_DIR=$(GTEST)/lib
endif
#PROD_HOST += loggerTest