From 11a8acab1005eddb134ed0dcdb4d8a805ac27a948682c97731f94df1e87c22e3 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 15 Jun 2020 06:22:59 +0000 Subject: [PATCH] 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 --- apache2-mod_nss.changes | 5 +++++ apache2-mod_nss.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apache2-mod_nss.changes b/apache2-mod_nss.changes index a5fe575..b310446 100644 --- a/apache2-mod_nss.changes +++ b/apache2-mod_nss.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 11 09:53:59 UTC 2020 - Paolo Stivanin + +- Add -fcommon in order to fix building with GCC10 + ------------------------------------------------------------------- Tue May 12 08:41:45 UTC 2020 - Vítězslav Čížek diff --git a/apache2-mod_nss.spec b/apache2-mod_nss.spec index 3253aff..6fc8666 100644 --- a/apache2-mod_nss.spec +++ b/apache2-mod_nss.spec @@ -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`