]> git.ipfire.org Git - ipfire-3.x.git/blob - gcc/patches/gcc-6.1-compile-compiler-with-pic.patch
git: Update to 2.23.0
[ipfire-3.x.git] / gcc / patches / gcc-6.1-compile-compiler-with-pic.patch
1 diff --git a/gcc/Makefile.in b/gcc/Makefile.in
2 index 6c5adc0..73d817d 100644
3 --- a/gcc/Makefile.in
4 +++ b/gcc/Makefile.in
5 @@ -261,12 +261,6 @@ endif
6 NO_PIE_CFLAGS = @NO_PIE_CFLAGS@
7 NO_PIE_FLAG = @NO_PIE_FLAG@
8
9 -# We don't want to compile the compilers with -fPIE, it make PCH fail.
10 -COMPILER += $(NO_PIE_CFLAGS)
11 -
12 -# Link with -no-pie since we compile the compiler with -fno-PIE.
13 -LINKER += $(NO_PIE_FLAG)
14 -
15 # Like LINKER, but use a mutex for serializing front end links.
16 ifeq (@DO_LINK_MUTEX@,true)
17 LLINKER = $(SHELL) $(srcdir)/lock-and-run.sh linkfe.lck $(LINKER)