Define _REENTRANT with -pthread on aarch64-linux

* config/aarch64/aarch64-linux.h (CPP_SPEC): Define.

From-SVN: r200900
This commit is contained in:
Andreas Schwab 2013-07-11 07:03:26 +00:00 committed by Andreas Schwab
parent 21231ca600
commit 3f3e266e20
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-07-11 Andreas Schwab <schwab@suse.de>
* config/aarch64/aarch64-linux.h (CPP_SPEC): Define.
2013-07-10 Vladimir Makarov <vmakarov@redhat.com> 2013-07-10 Vladimir Makarov <vmakarov@redhat.com>
* lra-constraints.c (curr_insn_transform): Switch off optional * lra-constraints.c (curr_insn_transform): Switch off optional

View File

@ -23,6 +23,8 @@
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64.so.1" #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64.so.1"
#define CPP_SPEC "%{pthread:-D_REENTRANT}"
#define LINUX_TARGET_LINK_SPEC "%{h*} \ #define LINUX_TARGET_LINK_SPEC "%{h*} \
%{static:-Bstatic} \ %{static:-Bstatic} \
%{shared:-shared} \ %{shared:-shared} \