summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-04-27 12:25:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-04-27 12:25:13 +0000
commit6bbc5e0fd606ee2bda8b0ce12bb70d93db3911ae (patch)
tree39268cb2d8314f70453bf42aa5d40b673e20ba78 /contrib
parentPreps for gcc-4.5.3. (diff)
downloadrtems-6bbc5e0fd606ee2bda8b0ce12bb70d93db3911ae.tar.bz2
Make sure not to be using GPLed parts of newlib.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/gcc/prep.add5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/crossrpms/gcc/prep.add b/contrib/crossrpms/gcc/prep.add
index 040eeab2ad..80730b9e18 100644
--- a/contrib/crossrpms/gcc/prep.add
+++ b/contrib/crossrpms/gcc/prep.add
@@ -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}