aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/ada-no-pie.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-10 09:58:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-10 09:58:34 +0000
commitf4aacf4c3225f8a31807f89e5d251a71c9a42327 (patch)
tree00fee5cbb46e2bbf938c3993abb6458bcb26f60e /main/gcc/ada-no-pie.patch
parentea0af854b52e5d2b44e6af094572e6ae38d1ba5a (diff)
downloadaports-f4aacf4c3225f8a31807f89e5d251a71c9a42327.tar.bz2
aports-f4aacf4c3225f8a31807f89e5d251a71c9a42327.tar.xz
Revert "main/gcc: fixes, support crosscompiler creation"
Needs newer abuild This reverts commit ea0af854b52e5d2b44e6af094572e6ae38d1ba5a.
Diffstat (limited to 'main/gcc/ada-no-pie.patch')
-rw-r--r--main/gcc/ada-no-pie.patch22
1 files changed, 2 insertions, 20 deletions
diff --git a/main/gcc/ada-no-pie.patch b/main/gcc/ada-no-pie.patch
index a38db87196..e5bdfdea1e 100644
--- a/main/gcc/ada-no-pie.patch
+++ b/main/gcc/ada-no-pie.patch
@@ -1,5 +1,5 @@
---- gcc-4.8.1/gcc/ada/gcc-interface/Makefile.in.orig
-+++ gcc-4.8.1/gcc/ada/gcc-interface/Makefile.in
+--- ./gcc/ada/gcc-interface/Makefile.in.orig 2013-02-06 11:19:08.000000000 +0000
++++ ./gcc/ada/gcc-interface/Makefile.in 2013-08-30 07:52:29.016804483 +0000
@@ -2462,23 +2462,23 @@
gnatchop gnatcmd gnatkr gnatls gnatprep gnatxref gnatfind gnatname \
gnatclean -bargs $(ADA_INCLUDES) $(GNATBIND_FLAGS)
@@ -33,24 +33,6 @@
../../gnatsym$(exeext): ../stamp-tools
$(GNATMAKE) -c $(ADA_INCLUDES) gnatsym --GCC="$(CC) $(ALL_ADAFLAGS)"
-@@ -2500,7 +2500,7 @@
- $(GNATMAKE) -j0 -c $(ADA_INCLUDES) gnatmake --GCC="$(CC) $(ALL_ADAFLAGS)"
- $(GNATBIND) $(ADA_INCLUDES) $(GNATBIND_FLAGS) gnatmake
- $(GNATLINK) -v gnatmake -o ../../gnatmake$(exeext) \
-- --GCC="$(GCC_LINK)" $(TOOLS_LIBS)
-+ --GCC="$(GCC_LINK)" -fno-PIE $(TOOLS_LIBS)
-
- # Note the use of the "mv" command in order to allow gnatlink to be linked with
- # with the former version of gnatlink itself which cannot override itself.
-@@ -2510,7 +2510,7 @@
- $(GNATMAKE) -j0 -c $(ADA_INCLUDES) gnatlink --GCC="$(CC) $(ALL_ADAFLAGS)"
- $(GNATBIND) $(ADA_INCLUDES) $(GNATBIND_FLAGS) gnatlink
- $(GNATLINK) -v gnatlink -o ../../gnatlinknew$(exeext) \
-- --GCC="$(GCC_LINK)" $(TOOLS_LIBS)
-+ --GCC="$(GCC_LINK)" -fno-PIE $(TOOLS_LIBS)
- $(MV) ../../gnatlinknew$(exeext) ../../gnatlink$(exeext)
-
- # Needs to be built with CC=gcc
@@ -2519,11 +2519,11 @@
# Likewise for the tools