6dbf373945
variable, not a shell function.
32 lines
762 B
Text
32 lines
762 B
Text
# $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,<dir>", not "-Wl,-R<dir>".
|
|
######################################################################
|
|
-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
|