diff options
author | emaste <emaste@FreeBSD.org> | 2016-05-20 19:14:15 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-05-20 19:14:15 +0000 |
commit | 31e069a5808be5b2ae4d2ca7573f47ba4b39fd6a (patch) | |
tree | f8fac7ba8c7aafd3a17e27ea0aa2ea7ecb7dfcd8 | |
parent | f5f38d872693a1839664d30be45d20ace6b9e539 (diff) | |
download | FreeBSD-src-31e069a5808be5b2ae4d2ca7573f47ba4b39fd6a.zip FreeBSD-src-31e069a5808be5b2ae4d2ca7573f47ba4b39fd6a.tar.gz |
MFC r292000: Remove historical GNUC test
The requirement is for a GCC-compatible compiler and not necessarily
GCC itself. However, we currently expect any compiler used for building
the whole of FreeBSD to be GCC-compatible and many things will break if
not; there's no longer a need to have an explicit test for this in csu.
-rw-r--r-- | lib/csu/amd64/crt1.c | 6 | ||||
-rw-r--r-- | lib/csu/arm/crt1.c | 6 | ||||
-rw-r--r-- | lib/csu/i386-elf/crt1_c.c | 6 | ||||
-rw-r--r-- | lib/csu/mips/crt1.c | 4 | ||||
-rw-r--r-- | lib/csu/powerpc/crt1.c | 6 | ||||
-rw-r--r-- | lib/csu/powerpc64/crt1.c | 6 | ||||
-rw-r--r-- | lib/csu/sparc64/crt1.c | 6 |
7 files changed, 0 insertions, 40 deletions
diff --git a/lib/csu/amd64/crt1.c b/lib/csu/amd64/crt1.c index 3740e73..c4f07e0 100644 --- a/lib/csu/amd64/crt1.c +++ b/lib/csu/amd64/crt1.c @@ -27,12 +27,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include <stdlib.h> #include "libc_private.h" diff --git a/lib/csu/arm/crt1.c b/lib/csu/arm/crt1.c index d2fbab3..5dec5e5 100644 --- a/lib/csu/arm/crt1.c +++ b/lib/csu/arm/crt1.c @@ -42,12 +42,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include <stdlib.h> #include "libc_private.h" diff --git a/lib/csu/i386-elf/crt1_c.c b/lib/csu/i386-elf/crt1_c.c index 65de04c..8b16f16 100644 --- a/lib/csu/i386-elf/crt1_c.c +++ b/lib/csu/i386-elf/crt1_c.c @@ -29,12 +29,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include <stdlib.h> #include "libc_private.h" diff --git a/lib/csu/mips/crt1.c b/lib/csu/mips/crt1.c index 95348b7..4030ce0 100644 --- a/lib/csu/mips/crt1.c +++ b/lib/csu/mips/crt1.c @@ -36,10 +36,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif - #include <stdlib.h> #include "libc_private.h" #include "crtbrand.c" diff --git a/lib/csu/powerpc/crt1.c b/lib/csu/powerpc/crt1.c index d1a3ea0..4e41bf7 100644 --- a/lib/csu/powerpc/crt1.c +++ b/lib/csu/powerpc/crt1.c @@ -42,12 +42,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include <stdlib.h> #include "libc_private.h" diff --git a/lib/csu/powerpc64/crt1.c b/lib/csu/powerpc64/crt1.c index 35c5a6e..3ae5250 100644 --- a/lib/csu/powerpc64/crt1.c +++ b/lib/csu/powerpc64/crt1.c @@ -42,12 +42,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include <stdlib.h> #include "libc_private.h" diff --git a/lib/csu/sparc64/crt1.c b/lib/csu/sparc64/crt1.c index e11ae39..35132b8 100644 --- a/lib/csu/sparc64/crt1.c +++ b/lib/csu/sparc64/crt1.c @@ -33,12 +33,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include <stdlib.h> #include "libc_private.h" |