Accepting request 813442 from home:polslinux:branches:Apache:Modules

- Add -fcommon in order to fix building with GCC10

OBS-URL: https://build.opensuse.org/request/show/813442
OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_nss?expand=0&rev=57
This commit is contained in:
Petr Gajdos 2020-06-15 06:22:59 +00:00 committed by Git OBS Bridge
parent 928301b72e
commit 11a8acab10
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 11 09:53:59 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Add -fcommon in order to fix building with GCC10
-------------------------------------------------------------------
Tue May 12 08:41:45 UTC 2020 - Vítězslav Čížek <vcizek@suse.com>

View File

@ -81,7 +81,7 @@ security library.
touch nss_expr_*.[chyl]
%build
CFLAGS="%{optflags}"
CFLAGS="%{optflags} -fcommon"
export CFLAGS
NSPR_INCLUDE_DIR=`%{_bindir}/pkg-config --variable=includedir nspr`
NSPR_LIB_DIR=`%{_bindir}/pkg-config --variable=libdir nspr`