summaryrefslogtreecommitdiff
path: root/mk/wrapper
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-12-19 00:38:59 +0000
committergrant <grant@pkgsrc.org>2004-12-19 00:38:59 +0000
commit40a1b4637ff9a5f33d0d3033bcb7e946021482d5 (patch)
tree127f9be403454225986fe396f623fe326550a0f8 /mk/wrapper
parentfc9c762fd7d38af1620ff378927d9ca86e90e412 (diff)
downloadpkgsrc-40a1b4637ff9a5f33d0d3033bcb7e946021482d5.tar.gz
transform -fPIC to -qnocommon and clarify the related comment.
Diffstat (limited to 'mk/wrapper')
-rw-r--r--mk/wrapper/transform-xlc-cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/wrapper/transform-xlc-cc b/mk/wrapper/transform-xlc-cc
index 1fa6a32eee0..c3c8c100b06 100644
--- a/mk/wrapper/transform-xlc-cc
+++ b/mk/wrapper/transform-xlc-cc
@@ -1,4 +1,4 @@
-# $NetBSD: transform-xlc-cc,v 1.5 2004/12/05 09:27:23 grant Exp $
+# $NetBSD: transform-xlc-cc,v 1.6 2004/12/19 00:38:59 grant Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -58,9 +58,10 @@ case $arg in
split_arg=yes
;;
# -qnocommon is the xlc argument to allocate uninitialized globals in
-# the data section.
--fno-common)
+# the data section for PIC.
+-fno-common|-fPIC)
arg=-qnocommon
+ msg_log $wrapperlog " (transform-xlc-cc) to: $arg"
addtocache=yes
;;
######################################################################