From 6bbc5e0fd606ee2bda8b0ce12bb70d93db3911ae Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 27 Apr 2011 12:25:13 +0000 Subject: Make sure not to be using GPLed parts of newlib. --- contrib/crossrpms/gcc/prep.add | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'contrib') 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} -- cgit v1.2.3