This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Backport from trune:
- From: Andrew Haley <aph at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 12 Aug 2013 13:01:46 +0100
- Subject: Backport from trune:
I think this one is obvious/trivial, but I'll ask anyway.
OK?
Andrew.
2013-08-12 Andrew Haley <aph@redhat.com>
Backport from mainline:
* 2013-07-11 Andreas Schwab <schwab@suse.de>
* config/aarch64/aarch64-linux.h (CPP_SPEC): Define.
Index: gcc/config/aarch64/aarch64-linux.h
===================================================================
--- gcc/config/aarch64/aarch64-linux.h (revision 201661)
+++ gcc/config/aarch64/aarch64-linux.h (working copy)
@@ -23,6 +23,8 @@
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64.so.1"
+#define CPP_SPEC "%{pthread:-D_REENTRANT}"
+
#define LINUX_TARGET_LINK_SPEC "%{h*} \
%{static:-Bstatic} \
%{shared:-shared} \