SHA256
1
0
forked from pool/dhcp

- Add -fno-strict-aliasing to CFLAGS to avoid a segfault in dhcpd

(boo#1186631).

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=228
This commit is contained in:
2021-05-31 09:27:00 +00:00
committed by Git OBS Bridge
parent 2fe0803578
commit 5402a85a16
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 31 09:24:51 UTC 2021 - Reinhard Max <max@suse.com>
- Add -fno-strict-aliasing to CFLAGS to avoid a segfault in dhcpd
(boo#1186631).
-------------------------------------------------------------------
Thu May 27 08:53:49 UTC 2021 - Reinhard Max <max@suse.com>

View File

@@ -226,7 +226,7 @@ popd
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
CFLAGS="%{optflags} -D_GNU_SOURCE -W -Wall -Wno-unused -fcommon"
CFLAGS="%{optflags} -D_GNU_SOURCE -W -Wall -Wno-unused -fcommon -fno-strict-aliasing"
%ifarch ppc ppc64 s390x
# bugs 134590, 171532
CFLAGS="$CFLAGS -fsigned-char"