# $NetBSD: mipspro-ucode-cc-post-logic,v 1.2 2004/03/13 03:41:13 uebayasi Exp $ # # Silently accept some GCC compiler arguments by silently converting # them to the MIPSpro compiler equivalents. This makes the MIPSpro # compiler wrappers work with more software that seems to assume GCC # nowadays. case $arg in -O[0123]) # MIPSpro can handle -O[0123] so just pass them on through. ;; -O*) # Ignore all other -O* options. arg= addtoprivatecache=yes ;; -Wl,-R*) # Directories for the runtime library search path are passed # via "-Wl,-rpath,