From: Waldemar Brodkorb Date: Tue, 29 Nov 2016 21:41:07 +0000 (+0000) Subject: * config/bfin/linux.h (CPP_SPEC): Define. X-Git-Tag: upstream/12.2.0~42887 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80a3051292b8c36ab22377a36c9fda47c7fd1d5a;p=platform%2Fupstream%2Fgcc.git * config/bfin/linux.h (CPP_SPEC): Define. From-SVN: r242976 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 256d121..7ec2c07 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 c02ff44..0922493 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} \