Accepting request 1063872 from home:marxin:branches:Base:System
- Disable strict aliasing due to its violation: https://sourceforge.net/p/ddrescue/tickets/6/ OBS-URL: https://build.opensuse.org/request/show/1063872 OBS-URL: https://build.opensuse.org/package/show/Base:System/dd_rescue?expand=0&rev=68
This commit is contained in:
parent
da0c129886
commit
71b9146bb1
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 8 16:00:38 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Disable strict aliasing due to its violation:
|
||||
https://sourceforge.net/p/ddrescue/tickets/6/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 27 10:31:33 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
|
||||
|
||||
|
@ -127,7 +127,9 @@ autoconf
|
||||
# avoid running dependency generation step
|
||||
touch .dep
|
||||
|
||||
OPT_FLAGS="%{optflags}"
|
||||
# GCC 13 newly detects a violation of the strict aliasing rule:
|
||||
# https://sourceforge.net/p/ddrescue/tickets/6/
|
||||
OPT_FLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%make_build RPM_OPT_FLAGS="$OPT_FLAGS" LIBDIR=%{_libdir} LIB=%{_lib}
|
||||
|
||||
%install
|
||||
@ -140,7 +142,7 @@ ln -sf %{_bindir}/dd_rescue %{buildroot}/bin
|
||||
%endif
|
||||
|
||||
%check
|
||||
%make_build RPM_OPT_FLAGS="%{optflags} -fcommon" check
|
||||
%make_build RPM_OPT_FLAGS="%{optflags} -fcommon -fno-strict-aliasing" check
|
||||
|
||||
%files
|
||||
%doc README.dd_rescue TODO
|
||||
|
Loading…
x
Reference in New Issue
Block a user