]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
test: add -Werror to CFLAGS in compilation test
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 22 Aug 2018 13:03:59 +0000 (15:03 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 24 Aug 2018 16:09:29 +0000 (18:09 +0200)
test/compilation/001-features

index d61c07f70b501a2a0cb6c173485574e6905c8136..f9733311152fa0029144fa247c2e64b5eac76bd2 100755 (executable)
@@ -4,6 +4,8 @@
 
 cd ../..
 
+export CFLAGS="-O2 -Werror -Wpointer-arith -Wformat-signedness -Wno-unknown-warning-option -D_FORTIFY_SOURCE=2"
+
 for opts in \
        "--enable-debug" \
        "--enable-ntp-signd" \