summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-06-08 06:29:44 +0000
committerrillig <rillig@pkgsrc.org>2006-06-08 06:29:44 +0000
commit87276c331be21df401e935af48c4f34cf58f77e0 (patch)
tree4536baa5bf0e656d97164827441648767e7462bb /mk
parentda66cb0fa8f1308f1aff857fc218014bf719ecea (diff)
downloadpkgsrc-87276c331be21df401e935af48c4f34cf58f77e0.tar.gz
The gcc equivalent of SunPro's -mt option is -threads.
Diffstat (limited to 'mk')
-rw-r--r--mk/wrapper/transform-solaris-gcc7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/wrapper/transform-solaris-gcc b/mk/wrapper/transform-solaris-gcc
index 17be9969873..c9095570ac7 100644
--- a/mk/wrapper/transform-solaris-gcc
+++ b/mk/wrapper/transform-solaris-gcc
@@ -1,4 +1,4 @@
-# $NetBSD: transform-solaris-gcc,v 1.1 2005/07/23 04:45:30 grant Exp $
+# $NetBSD: transform-solaris-gcc,v 1.2 2006/06/08 06:29:44 rillig Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -39,4 +39,9 @@ case $arg in
msg_log $wrapperlog " (transform-solaris-gcc) to: $arg"
addtocache=yes
;;
+-mt) # (from SunPro)
+ arg=-threads
+ msg_log $wrapperlog " (transform-solaris-gcc) to: $arg"
+ addtocache=yes
+ ;;
esac