diff options
author | tv <tv> | 2004-11-11 00:49:01 +0000 |
---|---|---|
committer | tv <tv> | 2004-11-11 00:49:01 +0000 |
commit | 66c6a0dae1b825d98d628f6b1f807a18a9695e83 (patch) | |
tree | 3b8bb5255872e40b2f858fee544cd8bcf5a0b584 /mk/wrapper | |
parent | a32d1c98747fc74ffcb85ae763e512b8e79d572f (diff) | |
download | pkgsrc-66c6a0dae1b825d98d628f6b1f807a18a9695e83.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/wrapper')
-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 ;; |