https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94372
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Stafford Horne <sho...@gcc.gnu.org>: https://gcc.gnu.org/g:cac2f69cdad434ad5cb60f5fe931d45cd82ef476 commit r12-6996-gcac2f69cdad434ad5cb60f5fe931d45cd82ef476 Author: Bernd Kuhls <bernd.ku...@t-online.de> Date: Fri Mar 27 21:23:53 2020 +0100 gcc: define _REENTRANT for OpenRISC when -pthread is passed The detection of pthread support fails on OpenRISC unless _REENTRANT is defined. Added the CPP_SPEC definition to correct this. gcc/ChangeLog: PR target/94372 * config/or1k/linux.h (CPP_SPEC): Define. Signed-off-by: Bernd Kuhls <bernd.ku...@t-online.de>