diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 256d121c77dd5..7ec2c074cc626 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-11-29 Waldemar Brodkorb + + * config/bfin/linux.h (CPP_SPEC): Define. + 2016-11-29 Martin Sebor PR tree-optimization/78512 diff --git a/gcc/config/bfin/linux.h b/gcc/config/bfin/linux.h index c02ff44c30ab4..09224937a165a 100644 --- a/gcc/config/bfin/linux.h +++ b/gcc/config/bfin/linux.h @@ -38,6 +38,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see "%{static:--start-group} %{mfast-fp:-lbffastfp} %G %L %{static:--end-group} \ %{!static:%{mfast-fp:-lbffastfp} %G}" +#undef CPP_SPEC +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" + #undef LINK_SPEC #define LINK_SPEC "\ %{mfdpic: -m elf32bfinfd -z text} %{shared} %{pie} \