From 6d90455ffc98129f983d4755e2c29d314d45421c Mon Sep 17 00:00:00 2001 From: emaste Date: Mon, 31 Aug 2015 19:20:18 +0000 Subject: [PATCH] MFC r282551: 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. git-svn-id: svn://svn.freebsd.org/base/stable/10@287331 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- 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 98fdfb492..ed65227ee 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 9ebfbca67..36c888c93 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 -- 2.45.0