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