pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/wrapper don't throw away all "-Wl," arguments, they...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07f7a4191035
branches:  trunk
changeset: 485185:07f7a4191035
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Dec 05 02:47:52 2004 +0000

description:
don't throw away all "-Wl," arguments, they are needed to pass various
shlib options to the Darwin linker.

diffstat:

 mk/wrapper/transform-xlc-cc |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 48c5eebb58ad -r 07f7a4191035 mk/wrapper/transform-xlc-cc
--- a/mk/wrapper/transform-xlc-cc       Sun Dec 05 02:41:31 2004 +0000
+++ b/mk/wrapper/transform-xlc-cc       Sun Dec 05 02:47:52 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-xlc-cc,v 1.2 2004/12/05 02:41:31 grant Exp $
+# $NetBSD: transform-xlc-cc,v 1.3 2004/12/05 02:47:52 grant Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -36,9 +36,9 @@
 
 case $arg in
 ######################################################################
-# Leave -Wl,-R unchanged.
+# Leave -Wl, unchanged.
 ######################################################################
--Wl,-R*)
+-Wl,*)
        ;;
 ######################################################################
 # XL C doesn't understand many -W* arguments, so just silently ignore



Home | Main Index | Thread Index | Old Index