Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2022-08-02 15:12:42 +0300
committerArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2022-08-02 15:12:42 +0300
commit33099fdc2f80c414b9d0dc74e72206fe43e779a2 (patch)
tree7001759801fdb5e0792d8e2a41ab1a8f18e95cb1 /build-backend.xml
parent49b1653f9df6affdb40adccb0f4debb733aaba19 (diff)
.......... [DEV-2221] fixed or removed some flags
Diffstat (limited to 'build-backend.xml')
-rw-r--r--build-backend.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-backend.xml b/build-backend.xml
index 1b7a06db0e4..34c868d1410 100644
--- a/build-backend.xml
+++ b/build-backend.xml
@@ -4,7 +4,7 @@
<taskdef resource="net/sf/antcontrib/antlib.xml" />
<!-- oracle oci library has functions declarations without arguments: f() instead of f(void), so it triggers -Wstrict-prototypes warning -->
- <property name="COMP_FLAGS_ORACLE" value="-g -std=gnu99 -pedantic -Wall -Wextra -Wunused -Wshadow -Wdeclaration-after-statement -Wpointer-arith -Wno-maybe-uninitialized -Wformat -Wmissing-prototypes -Wunreachable-code -Wformat-extra-args -Wno-missing-field-initializers -Wno-missing-field-initializers -Wincompatible-pointer-types -Wold-style-definition -Wlogical-op -Wbad-function-cast -Wmissing-declarations -Wunused-parameter -Winit-self -Wnested-externs -Wjump-misses-init -Wdangling-else -Wformat-signedness"/>
+ <property name="COMP_FLAGS_ORACLE" value="-g -std=gnu99 -pedantic -Wall -Wextra -Wunused -Wshadow -Wdeclaration-after-statement -Wpointer-arith -Wno-maybe-uninitialized -Wformat -Wmissing-prototypes -Wunreachable-code -Wformat-extra-args -Wno-missing-field-initializers -Wno-missing-field-initializers -Wincompatible-pointer-types -Wold-style-definition -Wlogical-op -Wmissing-declarations -Wunused-parameter -Winit-self -Wnested-externs -Wjump-misses-init -Wdangling-else -Wformat-signedness"/>
<property name="COMP_FLAGS" value="-Wstrict-prototypes ${COMP_FLAGS_ORACLE}"/>
<property name="ZBX_BASE_FLAGS" value="--enable-server --enable-agent --enable-proxy --with-libxml2 --with-unixodbc --with-net-snmp --with-ssh2 --with-libevent --with-ldap --with-libcurl"/>
@@ -195,6 +195,7 @@
<sequential>
<!-- clean, configure and build -->
<exec executable="./configure" failonerror="on">
+ <arg line="${COMP_FLAGS}"/>
<arg line="@{conf}"/>
</exec>
<trycatch>