diff --git a/avr-libc.spec b/avr-libc.spec index 57fb355..921d121 100644 --- a/avr-libc.spec +++ b/avr-libc.spec @@ -7,7 +7,7 @@ Name: avr-libc Version: 2.0.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: C library for use with GCC on Atmel AVR microcontrollers License: BSD URL: http://www.nongnu.org/avr-libc/ @@ -85,6 +85,10 @@ sed -i 's|@DOC_INST_DIR@/man|%{_prefix}/avr/share/man|' scripts/avr-man.in %build ./bootstrap + +# really don't try to force distrowide flags on crosscompiled noarch +unset CC CXX CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS LT_SYS_LIBRARY_PATH + # The ps doc ways in at 7Mb versus 2.5 for the pdf and has little added value ./configure --prefix=%{_prefix} --host=avr --build=`./config.guess` #--enable-doc # don't use %{?_smp_mflags}, it breaks the build @@ -138,6 +142,9 @@ chmod -R u=rwX,g=rX,o=rX $RPM_BUILD_ROOT%{_docdir}/%{name}/html %doc %{_docdir}/%{name}/%{name}*.pdf %changelog +* Tue Feb 01 2022 Michal Hlavinka - 2.0.0-14 +- fix FTBFS (#2045213) + * Wed Jan 19 2022 Fedora Release Engineering - 2.0.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild