mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
Make sure not to be using GPLed parts of newlib.
This commit is contained in:
1 parent
18b885ea8a
commit
6bbc5e0fd6
1 file changed
+4
-1
@@ -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