mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-24 20:49:20 +08:00
Make sure not to be using GPLed parts of newlib.
This commit is contained in:
@@ -50,8 +50,11 @@ cd ..
|
||||
# Copy the C library into gcc's source tree
|
||||
ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
|
||||
%if %{with gcc_stdint}
|
||||
rm newlib-%{newlib_version}/newlib/libc/include/stdint.h
|
||||
rm gcc-%{gcc_pkgvers}/newlib/libc/include/stdint.h
|
||||
%endif
|
||||
# Make sure not to be using GPL'ed sources
|
||||
rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/linux
|
||||
rm -rf gcc-%{gcc_pkgvers}/newlib/libc/sys/rdos
|
||||
%endif
|
||||
|
||||
%if 0%{?_build_mpfr}
|
||||
|
||||
Reference in New Issue
Block a user