# Stefan Teleman <[email protected]>
# 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 =