From c494c11514fa9e88522a76b350cf526a5c593df2 Mon Sep 17 00:00:00 2001 From: emaste Date: Wed, 6 May 2015 15:29:11 +0000 Subject: [PATCH] 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 rtld. Reviewed by: imp, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2422 --- libexec/rtld-elf/debug.h | 4 ---- libexec/rtld-elf/rtld.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/libexec/rtld-elf/debug.h b/libexec/rtld-elf/debug.h index 98fdfb4929c9..ed65227ee03d 100644 --- a/libexec/rtld-elf/debug.h +++ b/libexec/rtld-elf/debug.h @@ -32,10 +32,6 @@ #ifndef DEBUG_H #define DEBUG_H 1 -#ifndef __GNUC__ -#error "This file must be compiled with GCC" -#endif - #include #include diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 3ac446761992..1d91460f4c19 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -34,10 +34,6 @@ * John Polstra . */ -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif - #include #include #include