ignore -ansi, SunPro doesn't need to be told to support ANSI C.

This commit is contained in:
grant 2004-02-16 12:18:15 +00:00
parent 304a1d6309
commit 0e24610e47
2 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: sunpro-cc-post-cache,v 1.4 2004/02/12 10:16:27 jlam Exp $
# $NetBSD: sunpro-cc-post-cache,v 1.5 2004/02/16 12:18:15 grant Exp $
#
# This file implements the default action of the "cc" private cache
# for the SunPro suite of compilers, and tells the wrapper to skip the
@ -6,7 +6,7 @@
# can't handle; they will instead by handled directly by
# sunpro-cc-post-logic.
-[OW]*|-f[pP][iI][cC]|-shared)
-[OW]*|-ansi|-f[pP][iI][cC]|-shared)
skipcache=yes
;;
esac

View file

@ -1,4 +1,4 @@
# $NetBSD: sunpro-cc-post-logic,v 1.4 2004/02/02 01:36:14 grant Exp $
# $NetBSD: sunpro-cc-post-logic,v 1.5 2004/02/16 12:18:15 grant Exp $
#
# Silently accept some GCC compiler arguments by silently converting
# them to the SunPro compiler equivalents. This makes the SunPro
@ -35,6 +35,11 @@ case $arg in
arg=
addtoprivatecache=yes
;;
-ansi)
# No flag is required to specify ANSI C.
arg=
addtoprivatecache=yes
;;
-f[Pp][Ii][Cc])
# SunPro uses -Kpic to create position indepedent code.
#