don't throw away all "-Wl," arguments, they are needed to pass various

shlib options to the Darwin linker.
This commit is contained in:
grant 2004-12-05 02:47:52 +00:00
parent b0797b36a4
commit 17c0839438

View file

@ -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