]> granicus.if.org Git - openjpeg/commitdiff
Travis set ASan build to -O1
authormayeut <mayeut@users.noreply.github.com>
Sat, 12 Sep 2015 18:21:52 +0000 (20:21 +0200)
committermayeut <mayeut@users.noreply.github.com>
Sat, 12 Sep 2015 18:21:52 +0000 (20:21 +0200)
tools/ctest_scripts/travis-ci.cmake

index bab6d7abc03cc3ddf3701b21c8ac25b06ed4a701..6d50b3f5757110096ef1ff3c778b4911bfd5b373 100644 (file)
@@ -43,7 +43,7 @@ endif()
 if ("$ENV{OPJ_CI_ASAN}" STREQUAL "1")
        set(OPJ_HAS_MEMCHECK TRUE)
        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()
 
 if("$ENV{CC}" MATCHES ".*mingw.*")