diff options
author | agc <agc@pkgsrc.org> | 2004-07-30 16:06:57 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2004-07-30 16:06:57 +0000 |
commit | bec98f83e0390767934ed9df1f16f0c5debead38 (patch) | |
tree | 2653cfc3315a883d4c774dcc280e72e2a894b2b3 /mk | |
parent | e80f0de22306d3315eb205632952b132a28f2841 (diff) | |
download | pkgsrc-bec98f83e0390767934ed9df1f16f0c5debead38.tar.gz |
Pullup ticket 87 to the pkgsrc-2004Q2 branch, requested by Grant Beattie
Solaris fix for buildlink3
Module Name: pkgsrc
Committed By: grant
Date: Sat Jul 10 12:55:08 UTC 2004
Modified Files:
pkgsrc/mk/buildlink3: sunpro-cc-post-logic
Log Message:
explicitly don't transform "-Wl,*", fixing a bug that meant we were
throwing away all -W arguments that weren't -Wl,-R.
fixes building of a number of packages on Solaris.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/sunpro-cc-post-logic | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/buildlink3/sunpro-cc-post-logic b/mk/buildlink3/sunpro-cc-post-logic index cf7541a8558..64907d909f9 100644 --- a/mk/buildlink3/sunpro-cc-post-logic +++ b/mk/buildlink3/sunpro-cc-post-logic @@ -1,4 +1,4 @@ -# $NetBSD: sunpro-cc-post-logic,v 1.8.2.1 2004/07/13 14:00:16 agc Exp $ +# $NetBSD: sunpro-cc-post-logic,v 1.8.2.2 2004/07/30 16:06:57 agc Exp $ # # Silently accept some GCC compiler arguments by silently converting # them to the SunPro compiler equivalents. This makes the SunPro @@ -28,6 +28,10 @@ case $arg in arg=`$echo "X$arg" | $Xsed -e "s|^-Wl,||g" -e "s|,| |g"` addtoprivatecache=yes ;; +-Wl,*) + # Explicitly do nothing to preserve arguments to be passed to + # the linker. + ;; -W*) # In fact, SunPro compilers don't even understand any -W* # arguments, so just silently ignore them all. |