mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 15:29:11 +01:00
haiku: allow passing -pthread as a no-op.
Reduces the need to patch configure/build scripts that assume `-pthread` is available on POSIX/UNIX-ish systems.
This commit is contained in:
parent
795d2053a0
commit
5db2362242
@ -839,6 +839,7 @@ case ${target} in
|
||||
default_use_cxa_atexit=yes
|
||||
tm_p_file="${tm_p_file} haiku-protos.h"
|
||||
extra_objs="${extra_objs} haiku.o"
|
||||
extra_options="${extra_options} haiku.opt"
|
||||
;;
|
||||
*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu | *-*-uclinuxfdpiceabi)
|
||||
extra_options="$extra_options gnu-user.opt"
|
||||
|
29
gcc/gcc/config/haiku.opt
Normal file
29
gcc/gcc/config/haiku.opt
Normal file
@ -0,0 +1,29 @@
|
||||
; Haiku options.
|
||||
|
||||
; Copyright (C) 2010-2022 Free Software Foundation, Inc.
|
||||
;
|
||||
; This file is part of GCC.
|
||||
;
|
||||
; GCC is free software; you can redistribute it and/or modify it under
|
||||
; the terms of the GNU General Public License as published by the Free
|
||||
; Software Foundation; either version 3, or (at your option) any later
|
||||
; version.
|
||||
;
|
||||
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
; for more details.
|
||||
;
|
||||
; You should have received a copy of the GNU General Public License
|
||||
; along with GCC; see the file COPYING3. If not see
|
||||
; <http://www.gnu.org/licenses/>.
|
||||
|
||||
; See the GCC internals manual (options.texi) for a description of
|
||||
; this file's format.
|
||||
|
||||
; Please try to keep this file in ASCII collating order.
|
||||
|
||||
pthread
|
||||
Driver
|
||||
|
||||
; This comment is to ensure we retain the blank line above.
|
Loading…
Reference in New Issue
Block a user