- 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:
@@ -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>
|
||||
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user