diff options
author | Viktors Tjarve <viktors.tjarve@zabbix.com> | 2019-05-29 10:43:40 +0300 |
---|---|---|
committer | Viktors Tjarve <viktors.tjarve@zabbix.com> | 2019-05-29 10:49:07 +0300 |
commit | adf28aa3175b8256340d04e7897986cef2096429 (patch) | |
tree | 48359d8d423d0f81026130c60e0b8555266bf992 | |
parent | 6b8c9dc5b1cca6694e560ca1b0ceee6c952eec9b (diff) |
.......... [DEV-1083] adedd compiler flags to Jenkins builds with GCC
(cherry picked from commit 943d829843eece09a0e51d16b8311e7d22dee031)
(cherry picked from commit 30bdb28c33fe66e7e73c0a25ef05560000416c18)
-rw-r--r-- | build-backend.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-backend.xml b/build-backend.xml index 4badbb88dd4..351c3076a19 100644 --- a/build-backend.xml +++ b/build-backend.xml @@ -105,7 +105,7 @@ <property name="common.cflags" value="-O2 -g"/> <switch value="@{cc}"> <case value="gcc"> - <property name="cc.cflags" value="-Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wno-maybe-uninitialized -Wformat"/> + <property name="cc.cflags" value="-Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wno-maybe-uninitialized -Wformat -Wmissing-prototypes"/> </case> <case value="clang"> <property name="cc.cflags" value=""/> @@ -283,7 +283,7 @@ <!-- Zabbix various configuration parameters for cmocka tests --> <!-- Configuration option name must consist of prefix 'cmocka-', configuration order number and configuration title: cmocka-<number>-<title> --> - <property name="cmocka-1-default" value="-q --enable-server --enable-agent --enable-proxy --enable-ipv6 --with-mysql --with-jabber --with-libxml2 --with-unixodbc --with-net-snmp --with-ssh2 --with-openipmi --with-libevent --with-mbedtls --with-ldap --with-libcurl --with-iconv --with-libpcre"/> + <property name="cmocka-1-default" value="-q CFLAGS='-Wall -Wextra -Wdeclaration-after-statement -Wpointer-arith -Wno-maybe-uninitialized -Wformat -Wmissing-prototypes' --enable-server --enable-agent --enable-proxy --enable-ipv6 --with-mysql --with-jabber --with-libxml2 --with-unixodbc --with-net-snmp --with-ssh2 --with-openipmi --with-libevent --with-mbedtls --with-ldap --with-libcurl --with-iconv --with-libpcre"/> <property name="cmocka-2-agent-only" value="-q --enable-agent"/> <property name="cmocka-3-server-only" value="-q --enable-server --with-mysql"/> <property name="cmocka-4-sanitizer" value="CC=clang CFLAGS='-Wall -Wextra -Wenum-conversion -g -O2 -fsanitize=leak,address' LDFLAGS='-fsanitize=leak,address' -q --enable-server --enable-agent --enable-proxy --enable-ipv6 --with-mysql --with-jabber --with-libxml2 --with-unixodbc --with-net-snmp --with-ssh2 --with-openipmi --with-libevent --with-mbedtls --with-ldap --with-libcurl --with-iconv --with-libpcre"/> |