Travis set ASan build to -O1
This commit is contained in:
parent
c08bd89739
commit
3d295431e6
|
@ -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.*")
|
||||||
|
|
Loading…
Reference in New Issue