Re: [PATCH] RISC-V: define _REENTRANT with -pthread

2018-02-12 Thread Jim Wilson
On 02/12/2018 03:15 AM, Andreas Schwab wrote: This is expected by the AX_PTHREAD autoconf macro from . * config/riscv/linux.h (CPP_SPEC): Define. OK. Jim

[PATCH] RISC-V: define _REENTRANT with -pthread

2018-02-12 Thread Andreas Schwab
This is expected by the AX_PTHREAD autoconf macro from . * config/riscv/linux.h (CPP_SPEC): Define. diff --git a/gcc/config/riscv/linux.h b/gcc/config/riscv/linux.h index 1da1b0a74e..ad03654e8d 100644 --- a/gcc/config/riscv/lin