components/gcc49/patches/014-libiberty-Makefile.in.patch
changeset 5205 eaff9ab86216
equal deleted inserted replaced
5204:766639d560b9 5205:eaff9ab86216
       
     1 # Stefan Teleman <[email protected]>
       
     2 # The various ./configure's in GCC keep playing with CFLAGS, CXXFLAGS
       
     3 # or CPPFLAGS, and this unsets LARGEFILE_SOURCE. THe result is that some
       
     4 # GCC libraries are built with LARGEFILE_SOURCE enabled, and some don't.
       
     5 # Make sure everything is built with LARGEFILE_SOURCE turned on.
       
     6 # Internal patch. Not submitted upstream yet.
       
     7 --- libiberty/Makefile.in	2013-05-31 17:20:49.000000000 -0700
       
     8 +++ libiberty/Makefile.in	2015-08-05 05:31:33.530929188 -0700
       
     9 @@ -56,12 +56,12 @@
       
    10  
       
    11  CC = @CC@
       
    12  CFLAGS = @CFLAGS@
       
    13 -CPPFLAGS = @CPPFLAGS@
       
    14 +CPPFLAGS = @CPPFLAGS@ -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
       
    15  RANLIB = @RANLIB@
       
    16  MAKEINFO = @MAKEINFO@
       
    17  PERL = @PERL@
       
    18  
       
    19 -PICFLAG = @PICFLAG@
       
    20 +PICFLAG = @PICFLAG@ -fPIC -DPIC
       
    21  
       
    22  MAKEOVERRIDES =
       
    23