diff -r 766639d560b9 -r eaff9ab86216 components/gcc49/patches/014-libiberty-Makefile.in.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/gcc49/patches/014-libiberty-Makefile.in.patch Wed Dec 16 20:20:50 2015 -0800 @@ -0,0 +1,23 @@ +# Stefan Teleman +# The various ./configure's in GCC keep playing with CFLAGS, CXXFLAGS +# or CPPFLAGS, and this unsets LARGEFILE_SOURCE. THe result is that some +# GCC libraries are built with LARGEFILE_SOURCE enabled, and some don't. +# Make sure everything is built with LARGEFILE_SOURCE turned on. +# Internal patch. Not submitted upstream yet. +--- libiberty/Makefile.in 2013-05-31 17:20:49.000000000 -0700 ++++ libiberty/Makefile.in 2015-08-05 05:31:33.530929188 -0700 +@@ -56,12 +56,12 @@ + + CC = @CC@ + CFLAGS = @CFLAGS@ +-CPPFLAGS = @CPPFLAGS@ ++CPPFLAGS = @CPPFLAGS@ -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + RANLIB = @RANLIB@ + MAKEINFO = @MAKEINFO@ + PERL = @PERL@ + +-PICFLAG = @PICFLAG@ ++PICFLAG = @PICFLAG@ -fPIC -DPIC + + MAKEOVERRIDES = +