From 9432e4f68d5806406afb20c8045aff22c2bc5c568e5b86f55c5a0e6d0b652c77 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 6 Jun 2020 23:06:16 +0000 Subject: [PATCH] - Set CFLAGS+=-fcommon. OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-sccp?expand=0&rev=39 --- libosmo-sccp.changes | 5 +++++ libosmo-sccp.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libosmo-sccp.changes b/libosmo-sccp.changes index 89026fb..9326606 100644 --- a/libosmo-sccp.changes +++ b/libosmo-sccp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 6 23:05:34 UTC 2020 - Jan Engelhardt + +- Set CFLAGS+=-fcommon. + ------------------------------------------------------------------- Tue Jan 7 11:42:32 UTC 2020 - Jan Engelhardt diff --git a/libosmo-sccp.spec b/libosmo-sccp.spec index 51295ee..c00511c 100644 --- a/libosmo-sccp.spec +++ b/libosmo-sccp.spec @@ -160,11 +160,11 @@ a STP, such as Global Title Routing, Global Title Translation. %build echo "%version" >.tarball-version autoreconf -fiv -%configure \ - --disable-static \ - --includedir="%_includedir/%name" \ +%configure CFLAGS="%optflags -fcommon" \ + --disable-static \ + --includedir="%_includedir/%name" \ --docdir="%_defaultdocdir/%name" \ - --with-systemdsystemunitdir=%_unitdir + --with-systemdsystemunitdir=%_unitdir make %{?_smp_mflags} %install