]> granicus.if.org Git - gc/commitdiff
Travis CI: Test also with -D _FORTIFY_SOURCE
authorIvan Maidanski <ivmai@mail.ru>
Thu, 23 Mar 2017 08:25:52 +0000 (11:25 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 23 Mar 2017 08:25:52 +0000 (11:25 +0300)
.travis.yml

index ef44859c290d2b4e9e37ac848f24a9ace52dabdb..7fb78ec1be8af6a74a6ca4301643f74cf8ee6ae6 100644 (file)
@@ -16,7 +16,7 @@ env:
       CONF_ASSERTIONS=--enable-gc-assertions
   - CFLAGS_EXTRA="-D DEBUG_ADD_DEL_ROOTS -D DEBUG_DIRTY_BITS -D DEBUG_THREADS -D GC_LOG_TO_FILE_ALWAYS"
   - CFLAGS_EXTRA="-D ENABLE_TRACE -D EMPTY_GETENV_RESULTS -D GC_ALWAYS_MULTITHREADED -D CPPCHECK -D LINT2"
-  - CFLAGS_EXTRA="-D GC_BUILTIN_ATOMIC -march=native"
+  - CFLAGS_EXTRA="-D GC_BUILTIN_ATOMIC -march=native -D _FORTIFY_SOURCE=2"
   - CFLAGS_EXTRA="-D MARK_BIT_PER_OBJ" CFLAGS_EXTRA_M=-m32
   - CFLAGS_EXTRA="-D POINTER_MASK=~0xf" CONF_ASSERTIONS=--enable-gc-assertions
   - CFLAGS_EXTRA="-D PROC_VDB -D GC_NO_SYS_FAULT_H -D NO_INCREMENTAL"