diff options
author | tv <tv@pkgsrc.org> | 2004-11-11 00:49:01 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-11-11 00:49:01 +0000 |
commit | 91907b6376c633b4d417ec9d66e10aff07f92a10 (patch) | |
tree | 3b8bb5255872e40b2f858fee544cd8bcf5a0b584 /mk | |
parent | 07d1b3baf80817cfae4f5487ad7611e00093e7ee (diff) | |
download | pkgsrc-91907b6376c633b4d417ec9d66e10aff07f92a10.tar.gz |
-pthread is invalid for Interix gcc. Add a failure for it so that
portability oopses can be caught earlier.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/wrapper/cmd-sink-interix-gcc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/wrapper/cmd-sink-interix-gcc b/mk/wrapper/cmd-sink-interix-gcc index 6da5bbfe6f1..feb302ae40b 100644 --- a/mk/wrapper/cmd-sink-interix-gcc +++ b/mk/wrapper/cmd-sink-interix-gcc @@ -1,4 +1,4 @@ -# $NetBSD: cmd-sink-interix-gcc,v 1.2 2004/11/10 21:08:11 jlam Exp $ +# $NetBSD: cmd-sink-interix-gcc,v 1.3 2004/11/11 00:49:01 tv Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -39,7 +39,7 @@ while ! queue_is_empty cmdbuf; do pop_queue cmdbuf arg $debug_log $wrapperlog " (cmd-sink-interix-gcc) pop: $arg" case $arg in - -fpic|-fPIC) + -fpic|-fPIC|-pthread) $echo "$0: Interix GNU cc doesn't support \`$arg'." 1>&2 exit 1 ;; |