summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-08-31 19:20:18 +0000
committeremaste <emaste@FreeBSD.org>2015-08-31 19:20:18 +0000
commit7b55f00a51392d3a2eec6e52798d6401a0c6585c (patch)
tree475161c6e905e4fd56b2c1417fe27d3ab4e922c4 /libexec
parentfb04ebcd378613b7afed6327eab75e4ff940797a (diff)
downloadFreeBSD-src-7b55f00a51392d3a2eec6e52798d6401a0c6585c.zip
FreeBSD-src-7b55f00a51392d3a2eec6e52798d6401a0c6585c.tar.gz
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.
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 9ebfbca..36c888c 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