File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6161 cd ..
6262
6363 # build and test
64- CMAKE_CXX_COMPILER="${CXX}" CMAKE_C_COMPILER="${CC}" GTEST_ROOT="${BASE}/usr" CFLAGS="-Werror -g" CXXFLAGS="-Werror -g" ${ACTION}
64+ CMAKE_CXX_COMPILER="${CXX}" CMAKE_C_COMPILER="${CC}" GTEST_ROOT="${BASE}/usr" CFLAGS="-Werror -g -fsanitize=undefined " CXXFLAGS="-Werror -g -fsanitize=undefined " ${ACTION}
6565
6666 linux :
6767 runs-on : ubuntu-18.04
@@ -172,7 +172,7 @@ jobs:
172172 fi
173173
174174 # build and test
175- CMAKE_CXX_COMPILER="${CXX}" CMAKE_C_COMPILER="${CC}" GTEST_ROOT="${BASE}/usr" CFLAGS="-Werror -g" CXXFLAGS="-Werror -g" MSGPACK_SAN="${SAN}" ${ACTION}
175+ CMAKE_CXX_COMPILER="${CXX}" CMAKE_C_COMPILER="${CC}" GTEST_ROOT="${BASE}/usr" CFLAGS="-Werror -g -fsanitize=undefined " CXXFLAGS="-Werror -g -fsanitize=undefined " MSGPACK_SAN="${SAN}" ${ACTION}
176176
177177 windows :
178178 runs-on : windows-2019
Original file line number Diff line number Diff line change 2525 export ARCH_FLAG=" -m64"
2626fi
2727
28- cmake -DMSGPACK_32BIT=${BIT32} -DBUILD_SHARED_LIBS=${SHARED} -DMSGPACK_CHAR_SIGN=${CHAR_SIGN} -DCMAKE_CXX_FLAGS=${ARCH_FLAG} ..
28+ cmake -DMSGPACK_32BIT=${BIT32} -DBUILD_SHARED_LIBS=${SHARED} -DMSGPACK_CHAR_SIGN=${CHAR_SIGN} -DCMAKE_CXX_FLAGS=" ${ARCH_FLAG} ${CXXFLAGS} " -DCMAKE_C_FLAGS= " ${CFLAGS} " ..
2929
3030ret=$?
3131if [ $ret -ne 0 ]
You can’t perform that action at this time.
0 commit comments