Travis set ASan build to -O1

This commit is contained in:
mayeut 2015-09-12 20:21:52 +02:00
parent c08bd89739
commit 3d295431e6
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ endif()
if ("$ENV{OPJ_CI_ASAN}" STREQUAL "1") if ("$ENV{OPJ_CI_ASAN}" STREQUAL "1")
set(OPJ_HAS_MEMCHECK TRUE) set(OPJ_HAS_MEMCHECK TRUE)
set(CTEST_MEMORYCHECK_TYPE "AddressSanitizer") set(CTEST_MEMORYCHECK_TYPE "AddressSanitizer")
set(CCFLAGS_ARCH "${CCFLAGS_ARCH} -g -fsanitize=address -fno-omit-frame-pointer") set(CCFLAGS_ARCH "${CCFLAGS_ARCH} -O1 -g -fsanitize=address -fno-omit-frame-pointer")
endif() endif()
if("$ENV{CC}" MATCHES ".*mingw.*") if("$ENV{CC}" MATCHES ".*mingw.*")