OSDN Git Service

2007-04-16 Matthias Klose <doko@debian.org>
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Apr 2007 20:12:05 +0000 (20:12 +0000)
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Apr 2007 20:12:05 +0000 (20:12 +0000)
        * gcc/config/alpha/linux.h (CPP_SPEC): Define.
        * gcc/config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Extend.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123888 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/alpha/linux.h
gcc/config/arm/linux-gas.h

index 1bcf895..8575622 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-16  Matthias Klose  <doko@debian.org>
+
+       * gcc/config/alpha/linux.h (CPP_SPEC): Define.
+       * gcc/config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Extend.
+
 2007-04-16  Aldy Hernandez  <aldyh@redhat.com>
 
         * function.h: Remove sequence_stack extern declaration.
index a496f40..e103626 100644 (file)
@@ -44,6 +44,8 @@ Boston, MA 02110-1301, USA.  */
    %{shared:-lc} \
    %{!shared: %{profile:-lc_p}%{!profile:-lc}}"
 
+#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
+
 /* Show that we need a GP when profiling.  */
 #undef TARGET_PROFILING_NEEDS_GP
 #define TARGET_PROFILING_NEEDS_GP 1
index 715d2a5..88da91a 100644 (file)
@@ -28,7 +28,7 @@
 #define DEFAULT_SIGNED_CHAR 0
 
 #undef  SUBTARGET_CPP_SPEC
-#define SUBTARGET_CPP_SPEC  "%{posix:-D_POSIX_SOURCE}"
+#define SUBTARGET_CPP_SPEC  "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
 
 #undef  SIZE_TYPE
 #define SIZE_TYPE "unsigned int"