]> granicus.if.org Git - gc/commitdiff
Travis CI: Add _FORTIFY_SOURCE to exclude GC_BUILTIN_ATOMIC build for gcc
authorIvan Maidanski <ivmai@mail.ru>
Thu, 23 Mar 2017 19:34:15 +0000 (22:34 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 23 Mar 2017 19:34:15 +0000 (22:34 +0300)
(fix commit 2897743)

.travis.yml

index 7fb78ec1be8af6a74a6ca4301643f74cf8ee6ae6..a9b620b704215994c02d369bbdb3f24a53bf7ccd 100644 (file)
@@ -54,7 +54,7 @@ matrix:
   - compiler: clang
     env: CFLAGS_EXTRA="-D ENABLE_TRACE -D EMPTY_GETENV_RESULTS -D GC_ALWAYS_MULTITHREADED -D CPPCHECK -D LINT2"
   - compiler: gcc
-    env: CFLAGS_EXTRA="-D GC_BUILTIN_ATOMIC -march=native"
+    env: CFLAGS_EXTRA="-D GC_BUILTIN_ATOMIC -march=native -D _FORTIFY_SOURCE=2"
   - compiler: clang
     env: CFLAGS_EXTRA="-D MARK_BIT_PER_OBJ" CFLAGS_EXTRA_M=-m32
   - compiler: clang