Set CFLAGS_OPT_WERROR only on post-5 CentOS and RHEL systems.
OBS-URL: https://build.opensuse.org/package/show/server:mail/exim?expand=0&rev=160
This commit is contained in:
parent
e5a0307296
commit
ca1e0198e0
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 24 23:04:19 UTC 2015 - lmuelle@suse.com
|
||||
|
||||
- Set CFLAGS_OPT_WERROR only on post-5 CentOS and RHEL systems.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 24 22:33:59 UTC 2015 - lmuelle@suse.com
|
||||
|
||||
|
@ -128,7 +128,7 @@ once, if at all. The rest is done by logrotate / cron.)
|
||||
fPIE="-fPIE"
|
||||
pie="-pie"
|
||||
%endif
|
||||
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 1100
|
||||
%if 0%{?suse_version} > 1100 || 0%{?centos_version} > 599 || 0%{?rhel_version} > 599
|
||||
CFLAGS_OPT_WERROR="-Werror=format-security -Werror=missing-format-attribute"
|
||||
%endif
|
||||
cat <<-EOF > Local/Makefile
|
||||
|
Loading…
x
Reference in New Issue
Block a user