- bsc#1160413 postfix fails with -fno-common

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=357
This commit is contained in:
Peter Varkoly 2020-02-05 12:27:52 +00:00 committed by Git OBS Bridge
parent a60417ac2f
commit c642a9d518
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 5 12:27:07 UTC 2020 - Peter Varkoly <varkoly@suse.com>
- bsc#1160413 postfix fails with -fno-common
-------------------------------------------------------------------
Mon Feb 3 12:31:48 UTC 2020 - Michael Ströder <michael@stroeder.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package postfix
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -183,7 +183,7 @@ PostgreSQL.
%build
unset AUXLIBS AUXLIBS_LDAP AUXLIBS_PCRE AUXLIBS_MYSQL AUXLIBS_PGSQL AUXLIBS_SQLITE AUXLIBS_CDB
export CCARGS="${CCARGS} %{optflags} -Wno-comments -Wno-missing-braces -fPIC"
export CCARGS="${CCARGS} %{optflags} -fcommon -Wno-comments -Wno-missing-braces -fPIC"
%ifarch s390 s390x ppc
export CCARGS="${CCARGS} -fsigned-char"
%endif