From 17c08394384a6231c906eda89729f25eb64b3a0e Mon Sep 17 00:00:00 2001 From: grant Date: Sun, 5 Dec 2004 02:47:52 +0000 Subject: don't throw away all "-Wl," arguments, they are needed to pass various shlib options to the Darwin linker. --- mk/wrapper/transform-xlc-cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mk') diff --git a/mk/wrapper/transform-xlc-cc b/mk/wrapper/transform-xlc-cc index 2890810f098..cfc5c88f63a 100644 --- a/mk/wrapper/transform-xlc-cc +++ b/mk/wrapper/transform-xlc-cc @@ -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 -- cgit v1.2.3