diff --git a/dhcp.spec b/dhcp.spec index dad113c26662521dca1408db308243cb39710853..8f082cb8753897e013ae1c44e405a0e292405402 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -1,7 +1,7 @@ # SystemTap support is disabled by default %{!?sdt:%global sdt 0} -%define anolis_release .0.1 +%define anolis_release .0.2 #http://lists.fedoraproject.org/pipermail/devel/2011-August/155358.html %global _hardened_build 1 @@ -395,7 +395,7 @@ sed -i -e 's|/var/db/|%{_localstatedir}/lib/dhcpd/|g' contrib/dhcp-lease-list.pl #libtoolize --copy --force autoreconf --verbose --force --install -CFLAGS="%{optflags} -fno-strict-aliasing" \ +CFLAGS="%{optflags} -fno-strict-aliasing -fcommon" \ %configure \ --with-srv-lease-file=%{_localstatedir}/lib/dhcpd/dhcpd.leases \ --with-srv6-lease-file=%{_localstatedir}/lib/dhcpd/dhcpd6.leases \ @@ -706,6 +706,9 @@ done %endif %changelog +* Tue Nov 23 2021 Weitao Zhou - 12:4.3.6-44.0.2.1 +- Fix gcc10 -fno-common compile issue for compatible with gcc10 build + * Mon Jul 19 2021 yangxiaoxuan - 12:4.3.6-44.0.1.1 - Rebrand for Anolis OS - cherry-pick [7fb1e61]