summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/wrapper/cmd-sink-icc81-cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/wrapper/cmd-sink-icc81-cc b/mk/wrapper/cmd-sink-icc81-cc
index 19c57729c6f..1ee23dd1ce4 100644
--- a/mk/wrapper/cmd-sink-icc81-cc
+++ b/mk/wrapper/cmd-sink-icc81-cc
@@ -1,4 +1,4 @@
-# $NetBSD: cmd-sink-icc81-cc,v 1.1 2005/02/16 10:59:03 grant Exp $
+# $NetBSD: cmd-sink-icc81-cc,v 1.2 2005/02/16 11:24:44 grant Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -43,6 +43,11 @@ arg=-i-static
$debug_log $wrapperlog " (cmd-sink-icc81-cc) pop: $arg"
. $buildcmd
+# Always link against the Intel provided C++ runtime library.
+arg=-cxxlib-icc
+$debug_log $wrapperlog " (cmd-sink-icc81-cc) pop: $arg"
+. $buildcmd
+
while ! queue_is_empty cmdbuf; do
pop_queue cmdbuf arg
case "$arg" in