Skip to content
Commit 2355ebb6 authored by Mark Corbin's avatar Mark Corbin Committed by Thomas Petazzoni
Browse files

package/gcc: define _REENTRANT for RISC-V when -pthread is passed



The detection of pthread support fails on RISC-V unless _REENTRANT is
defined. This commit backports a patch that is already in upstream gcc
8.x to gcc 7.x to define _REENTRANT when -pthread is passed.

This will replace a number of package-specific fixes that have been
introduced to define _REENTRANT.

Signed-off-by: default avatarMark Corbin <mark.corbin@embecosm.com>
[Thomas: tweak commit log.]
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@bootlin.com>
parent 0021a2a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment