summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-11-28 13:03:56 +0000
committerrillig <rillig@pkgsrc.org>2007-11-28 13:03:56 +0000
commitb9163bca81b720edd3ff618924f32b4092494d72 (patch)
tree0618a3e80f4d935d44f095de8e5f00ce25587438 /mk
parentba3e0729b2981acb9c1b2dd5d760528551d99e56 (diff)
downloadpkgsrc-b9163bca81b720edd3ff618924f32b4092494d72.tar.gz
sunpro doesn't need -lstdc++.
Diffstat (limited to 'mk')
-rw-r--r--mk/wrapper/transform-sunpro-cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/wrapper/transform-sunpro-cc b/mk/wrapper/transform-sunpro-cc
index 0689b9b70b3..14d6d53e304 100644
--- a/mk/wrapper/transform-sunpro-cc
+++ b/mk/wrapper/transform-sunpro-cc
@@ -1,4 +1,4 @@
-# $NetBSD: transform-sunpro-cc,v 1.28 2007/11/19 00:45:49 rillig Exp $
+# $NetBSD: transform-sunpro-cc,v 1.29 2007/11/28 13:03:56 rillig Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -38,6 +38,9 @@ transform_setname "transform-sunpro-cc"
case $arg in
+# libstdc++ is specific to the GNU C++ compiler.
+-lstdc++ ) transform_discard_with_warning ;;
+
# Standard options, except -O0 and -O1.
-[cEgOos] |\
-[DILlU]?* ) transform_pass ;;