patches/gcc/3.3/sh-predef-gnu_source.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/gcc/3.3/sh-predef-gnu_source.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,15 +0,0 @@
     1.4 -See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11096
     1.5 -and http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00424.html
     1.6 -
     1.7 ---- gcc-3.3/gcc/config/sh/linux.h.old	Wed Jun  4 17:37:40 2003
     1.8 -+++ gcc-3.3/gcc/config/sh/linux.h	Wed Jun  4 17:38:16 2003
     1.9 -@@ -53,5 +53,9 @@
    1.10 -    %{static:-static}"
    1.11 - 
    1.12 -+/* The GNU C++ standard library requires that these macros be defined.  */
    1.13 -+#undef CPLUSPLUS_CPP_SPEC
    1.14 -+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
    1.15 -+
    1.16 - #undef LIB_SPEC
    1.17 - #define LIB_SPEC \
    1.18 -   "%{shared: -lc} \