# $NetBSD: transform-ccc-cc,v 1.3 2006/09/17 18:46:00 rillig Exp $
#
case $arg in
######################################################################
# Directories for the runtime library search path are passed via
# "-Wl,-rpath,
", not "-Wl,-R".
######################################################################
-Wl,-R*)
arg="-Wl,-rpath,${arg#-Wl,-R}"
$debug_log $wrapperlog " (transform-ccc-cc) to: $arg"
addtocache=yes
;;
-W[LlSc],*)
addtocache=yes
;;
-W*)
arg=
$debug_log $wrapperlog " (transform-ccc-cc) to: $arg"
addtocache=yes
;;
-mieee)
arg="-ieee"
$debug_log $wrapperlog " (transform-ccc-cc) to: $arg"
addtocache=yes
;;
-g)
arg="-g3"
$debug_log $wrapperlog " (transform-ccc-cc) to: $arg"
addtocache=yes
;;
esac