From 909eefb868187fbdd24d7674e6451de9635f679a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 29 Mar 2015 17:20:11 +0200 Subject: [PATCH] travis: remove FORTIFY_SOURCE, causes trouble with clang --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 279753e9..733daeac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,6 +42,6 @@ install: - sudo /bin/sh -c 'cpanm -n -v X11::XCB || true' - sudo /bin/sh -c 'cpanm -n -v AnyEvent::I3 || true' script: - - CFLAGS="-Wformat -Wformat-security -Wextra -Wno-unused-parameter -Werror" CPPFLAGS="-D_FORTIFY_SOURCE=0" make -j + - CFLAGS="-Wformat -Wformat-security -Wextra -Wno-unused-parameter -Werror" make -j - (cd testcases && xvfb-run ./complete-run.pl --parallel=1 || (cat latest/complete-run.log; false)) - clang-format-3.5 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)