Don't attempt to use a compiler specified by $CC; it's perfectly legitimate
to have $CC point to this script, which would then yield the obvious result. (This script is pretty much tied to the shipped compiler anyhow.)
This commit is contained in:
parent
f60b17cd56
commit
2f46fbc103
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: c89.1,v 1.4 1999/03/09 12:54:40 kleink Exp $
|
||||
.\" $NetBSD: c89.1,v 1.5 1999/04/10 15:22:27 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -69,14 +69,6 @@ Issue errors instead of warnings that normally would be presented by
|
|||
.It Fl D_ANSI_SOURCE
|
||||
Tell the system header file set to use an ANSI-conformant "clean" namespace.
|
||||
.El
|
||||
.Sh ENVIRONMENT VARIABLES
|
||||
The following environment variables affect the execution of
|
||||
.Nm "" :
|
||||
.Bl -tag -width -pedantic-errorsxx
|
||||
.It Ev CC
|
||||
C compiler program to use. Defaults to
|
||||
.Ar cc .
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr cc 1
|
||||
.Sh STANDARDS
|
||||
|
|
|
@ -30,4 +30,4 @@
|
|||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
exec ${CC-cc} -ansi ${1+$@}
|
||||
exec /usr/bin/cc -ansi ${1+$@}
|
||||
|
|
Loading…
Reference in New Issue