summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
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}