summaryrefslogtreecommitdiff
path: root/mk/wrapper/transform-xlc-cc
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-09-17 18:46:00 +0000
committerrillig <rillig@pkgsrc.org>2006-09-17 18:46:00 +0000
commit6dbf373945d0e5c353aed6b14916970f07ec7bdb (patch)
treeacee3a07a989fbb470cf3d1a8203dd476369b02f /mk/wrapper/transform-xlc-cc
parentb7c591a8f364f61612b0882f75a37ec4f68b0617 (diff)
downloadpkgsrc-6dbf373945d0e5c353aed6b14916970f07ec7bdb.tar.gz
Fixed the "unknown command" error messages for debug_log, which is a
variable, not a shell function.
Diffstat (limited to 'mk/wrapper/transform-xlc-cc')
-rw-r--r--mk/wrapper/transform-xlc-cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/wrapper/transform-xlc-cc b/mk/wrapper/transform-xlc-cc
index ba11dd282b4..27ba4db08ec 100644
--- a/mk/wrapper/transform-xlc-cc
+++ b/mk/wrapper/transform-xlc-cc
@@ -1,4 +1,4 @@
-# $NetBSD: transform-xlc-cc,v 1.7 2006/07/31 14:43:48 jlam Exp $
+# $NetBSD: transform-xlc-cc,v 1.8 2006/09/17 18:46:00 rillig Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -46,14 +46,14 @@ case $arg in
######################################################################
-W*)
arg=
- debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
addtocache=yes
;;
# xlc uses -qmkshrobj to create shared objects, and we also need to
# tell the linker to use a flat namespace and allow undefined symbols.
-dynamiclib)
arg="-qmkshrobj -Wl,-flat_namespace -Wl,-undefined -Wl,suppress"
- debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
addtocache=yes
split_arg=yes
;;
@@ -61,7 +61,7 @@ case $arg in
# the data section for PIC.
-fno-common|-fPIC)
arg=-qnocommon
- debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
addtocache=yes
;;
######################################################################
@@ -69,7 +69,7 @@ case $arg in
######################################################################
-pipe|-ansi|-fno-gnu-keywords|-fstrict-prototypes|-no-cpp-precomp|-pedantic)
arg=
- debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
+ $debug_log $wrapperlog " (transform-xlc-cc) to: $arg"
addtocache=yes
;;
esac