diff options
author | tron <tron@pkgsrc.org> | 2013-12-31 13:56:35 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2013-12-31 13:56:35 +0000 |
commit | f3e8f2e21c3c286870748a3231f1766ab4ecf5cc (patch) | |
tree | 56c05e25b64113e438ccf81d8465423c7f2da698 /mk | |
parent | e9a283da84ac47bc153692c1f934aab6ad25d7cb (diff) | |
download | pkgsrc-f3e8f2e21c3c286870748a3231f1766ab4ecf5cc.tar.gz |
Don't try to convert the SunStudio option "-mt". There is no GCC option
which is accepted by both the GCC bundled with Solaris 10 and the more
modern GCC versions availabe in "pkgsrc". Handling of POSIX thread
related options should be left to pkgsrc anyway.
Fix based on a suggestion by Richard Palo.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/wrapper/transform-gcc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/wrapper/transform-gcc b/mk/wrapper/transform-gcc index fe30339252f..3dd6624d7fb 100644 --- a/mk/wrapper/transform-gcc +++ b/mk/wrapper/transform-gcc @@ -1,4 +1,4 @@ -# $NetBSD: transform-gcc,v 1.28 2012/07/23 11:58:41 jperkin Exp $ +# $NetBSD: transform-gcc,v 1.29 2013/12/31 13:56:35 tron Exp $ # # This file handles the transformations needed for gcc that can be done # looking at only one argument at a time. @@ -147,7 +147,7 @@ case $arg in -kpic |\ -KPIC |\ -kPIC ) transform_to "-fPIC" ;; --mt ) transform_to "-threads" ;; +-mt ) transform_discard ;; -64 ) transform_to "-m64" ;; # Ignore SunPRO flags to prevent it from being recognized as a entry point |