RISC-V: define _REENTRANT with -pthread
authorAndreas Schwab <schwab@suse.de>
Tue, 13 Feb 2018 11:21:01 +0000 (11:21 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Tue, 13 Feb 2018 11:21:01 +0000 (11:21 +0000)
commit9bc5ecf3bcb25abbf868d52e7db076248e0ef174
tree23f420dfbfbf3411f3bcc3fe65f4075653a2d289
parentd74641bdd752306ad41b4cd3b2f747ec046cb391
RISC-V: define _REENTRANT with -pthread

This is expected by the AX_PTHREAD autoconf macro from
<http://www.gnu.org/software/autoconf-archive/ax_pthread.html>.

* config/riscv/linux.h (CPP_SPEC): Define.

From-SVN: r257621
gcc/ChangeLog
gcc/config/riscv/linux.h