From: Michael Stapelberg Date: Sun, 29 Mar 2015 15:20:11 +0000 (+0200) Subject: travis: remove FORTIFY_SOURCE, causes trouble with clang X-Git-Tag: 4.10.1~7 X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=commitdiff_plain;h=909eefb868187fbdd24d7674e6451de9635f679a travis: remove FORTIFY_SOURCE, causes trouble with clang --- 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)