Author: emaste Date: Fri May 20 19:14:15 2016 New Revision: 300323 URL: https://svnweb.freebsd.org/changeset/base/300323
Log: 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. Modified: stable/10/lib/csu/amd64/crt1.c stable/10/lib/csu/arm/crt1.c stable/10/lib/csu/i386-elf/crt1_c.c stable/10/lib/csu/mips/crt1.c stable/10/lib/csu/powerpc/crt1.c stable/10/lib/csu/powerpc64/crt1.c stable/10/lib/csu/sparc64/crt1.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/csu/amd64/crt1.c ============================================================================== --- stable/10/lib/csu/amd64/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/amd64/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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" Modified: stable/10/lib/csu/arm/crt1.c ============================================================================== --- stable/10/lib/csu/arm/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/arm/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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" Modified: stable/10/lib/csu/i386-elf/crt1_c.c ============================================================================== --- stable/10/lib/csu/i386-elf/crt1_c.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/i386-elf/crt1_c.c Fri May 20 19:14:15 2016 (r300323) @@ -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" Modified: stable/10/lib/csu/mips/crt1.c ============================================================================== --- stable/10/lib/csu/mips/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/mips/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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" Modified: stable/10/lib/csu/powerpc/crt1.c ============================================================================== --- stable/10/lib/csu/powerpc/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/powerpc/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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" Modified: stable/10/lib/csu/powerpc64/crt1.c ============================================================================== --- stable/10/lib/csu/powerpc64/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/powerpc64/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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" Modified: stable/10/lib/csu/sparc64/crt1.c ============================================================================== --- stable/10/lib/csu/sparc64/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/sparc64/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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" _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"