# $NetBSD: sunpro-cc-post-logic,v 1.2 2003/09/02 07:00:03 jlam Exp $ # # Silently accept some GCC compiler arguments by silently converting # them to the SunPro compiler equivalents. This makes the SunPro # compiler wrappers work with more software that seems to assume GCC # nowadays. case $arg in -Werror) # "-errwarn" is the right way to convince the SunPro compiler # to stop on compilation warnings. # arg="-errwarn" addtoprivatecache=yes ;; -Wl,-R*) # Directories for the runtime library search path are passed # via simply "-R