Date: Mon, 31 Aug 2015 19:20:19 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r287331 - stable/10/libexec/rtld-elf Message-ID: <201508311920.t7VJKJX0049281@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Mon Aug 31 19:20:18 2015 New Revision: 287331 URL: https://svnweb.freebsd.org/changeset/base/287331 Log: 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. Modified: stable/10/libexec/rtld-elf/debug.h stable/10/libexec/rtld-elf/rtld.c Directory Properties: stable/10/ (props changed) Modified: stable/10/libexec/rtld-elf/debug.h ============================================================================== --- stable/10/libexec/rtld-elf/debug.h Mon Aug 31 19:12:10 2015 (r287330) +++ stable/10/libexec/rtld-elf/debug.h Mon Aug 31 19:20:18 2015 (r287331) @@ -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> Modified: stable/10/libexec/rtld-elf/rtld.c ============================================================================== --- stable/10/libexec/rtld-elf/rtld.c Mon Aug 31 19:12:10 2015 (r287330) +++ stable/10/libexec/rtld-elf/rtld.c Mon Aug 31 19:20:18 2015 (r287331) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508311920.t7VJKJX0049281>