summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-05-06 15:29:11 +0000
committeremaste <emaste@FreeBSD.org>2015-05-06 15:29:11 +0000
commitc494c11514fa9e88522a76b350cf526a5c593df2 (patch)
tree5b7c42d9b87d28420cb7b4b6539a3f780510c869 /libexec
parent30a578b448b5dd1788bb2f727b33192c030c4e38 (diff)
downloadFreeBSD-src-c494c11514fa9e88522a76b350cf526a5c593df2.zip
FreeBSD-src-c494c11514fa9e88522a76b350cf526a5c593df2.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 rtld. Reviewed by: imp, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2422
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/debug.h4
-rw-r--r--libexec/rtld-elf/rtld.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/libexec/rtld-elf/debug.h b/libexec/rtld-elf/debug.h
index 98fdfb4..ed65227 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 <sys/cdefs.h>
#include <string.h>
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index 3ac4467..1d91460 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -34,10 +34,6 @@
* John Polstra <jdp@polstra.com>.
*/
-#ifndef __GNUC__
-#error "GCC is needed to compile this file"
-#endif
-
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/mman.h>
OpenPOWER on IntegriCloud