diff options
author | emaste <emaste@FreeBSD.org> | 2015-12-08 19:32:58 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-12-08 19:32:58 +0000 |
commit | e75386a996ddcd8328dd7d296104748d9876bfa0 (patch) | |
tree | 4adbcb850d09722bc1380a534ce0716c9dfaf32c | |
parent | 65566224449e43d468e0119224ef95e38945f1d7 (diff) | |
download | FreeBSD-src-e75386a996ddcd8328dd7d296104748d9876bfa0.zip FreeBSD-src-e75386a996ddcd8328dd7d296104748d9876bfa0.tar.gz |
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.
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | lib/csu/aarch64/crt1.c | 6 | ||||
-rw-r--r-- | lib/csu/amd64/crt1.c | 6 | ||||
-rw-r--r-- | lib/csu/arm/crt1.c | 6 | ||||
-rw-r--r-- | lib/csu/i386/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 |
8 files changed, 0 insertions, 46 deletions
diff --git a/lib/csu/aarch64/crt1.c b/lib/csu/aarch64/crt1.c index be59317..ed24f46 100644 --- a/lib/csu/aarch64/crt1.c +++ b/lib/csu/aarch64/crt1.c @@ -32,12 +32,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/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/crt1_c.c b/lib/csu/i386/crt1_c.c index 65de04c..8b16f16 100644 --- a/lib/csu/i386/crt1_c.c +++ b/lib/csu/i386/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" |