travis: remove FORTIFY_SOURCE, causes trouble with clang
This commit is contained in:
parent
6b04f28b48
commit
909eefb868
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user