aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/ada-no-pie.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-12-10 14:47:02 +0200
committerTimo Teräs <timo.teras@iki.fi>2014-12-10 16:24:01 +0000
commitd75e8d77a6d1c5df59f53a584d40a48b27d37ffc (patch)
treea03b69c8b07771898c234a0549b469ed43358083 /main/gcc/ada-no-pie.patch
parent90f74af8899eea8f68ec594e964e2c14f9b5a393 (diff)
downloadaports-d75e8d77a6d1c5df59f53a584d40a48b27d37ffc.tar.bz2
aports-d75e8d77a6d1c5df59f53a584d40a48b27d37ffc.tar.xz
main/gcc: upgrade to 4.9.2, drop uclibc support
* refresh gentoo esp patches * split alpine specific esp changes to nice patch * update musl, poison-system-directories and cloog-dl patches * rebase our ada-musl and ada-no-pie patches * remove unneeded patches (bugs fixed upstream, and uclibc patches)
Diffstat (limited to 'main/gcc/ada-no-pie.patch')
-rw-r--r--main/gcc/ada-no-pie.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/main/gcc/ada-no-pie.patch b/main/gcc/ada-no-pie.patch
index 39cdb85e32..502d3a435f 100644
--- a/main/gcc/ada-no-pie.patch
+++ b/main/gcc/ada-no-pie.patch
@@ -1,6 +1,6 @@
---- gcc-4.8.3/gcc/ada/gcc-interface/Makefile.in.orig 2013-12-13 00:53:43.000000000 -0200
-+++ gcc-4.8.3/gcc/ada/gcc-interface/Makefile.in 2014-08-01 11:17:00.186019299 -0300
-@@ -2462,23 +2462,23 @@
+--- gcc-4.9.2/gcc/ada/gcc-interface/Makefile.in.orig 2014-05-17 13:13:12.000000000 -0300
++++ gcc-4.9.2/gcc/ada/gcc-interface/Makefile.in 2014-12-10 12:01:32.304493855 -0200
+@@ -2570,23 +2570,23 @@
gnatchop gnatcmd gnatkr gnatls gnatprep gnatxref gnatfind gnatname \
gnatclean -bargs $(ADA_INCLUDES) $(GNATBIND_FLAGS)
$(GNATLINK) -v gnatcmd -o ../../gnat$(exeext) \
@@ -33,7 +33,7 @@
../../gnatsym$(exeext): ../stamp-tools
$(GNATMAKE) -c $(ADA_INCLUDES) gnatsym --GCC="$(CC) $(ALL_ADAFLAGS)"
-@@ -2500,7 +2500,7 @@
+@@ -2608,7 +2608,7 @@
$(GNATMAKE) -j0 -c $(ADA_INCLUDES) gnatmake --GCC="$(CC) $(ALL_ADAFLAGS)"
$(GNATBIND) $(ADA_INCLUDES) $(GNATBIND_FLAGS) gnatmake
$(GNATLINK) -v gnatmake -o ../../gnatmake$(exeext) \
@@ -42,7 +42,7 @@
# 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 @@
+@@ -2618,7 +2618,7 @@
$(GNATMAKE) -j0 -c $(ADA_INCLUDES) gnatlink --GCC="$(CC) $(ALL_ADAFLAGS)"
$(GNATBIND) $(ADA_INCLUDES) $(GNATBIND_FLAGS) gnatlink
$(GNATLINK) -v gnatlink -o ../../gnatlinknew$(exeext) \
@@ -51,14 +51,14 @@
$(MV) ../../gnatlinknew$(exeext) ../../gnatlink$(exeext)
# Needs to be built with CC=gcc
-@@ -2519,10 +2519,10 @@
+@@ -2627,10 +2627,10 @@
# Likewise for the tools
- ../../gnatmake$(exeext): $(P) b_gnatm.o link.o targext.o $(GNATMAKE_OBJS)
+ ../../gnatmake$(exeext): $(P) b_gnatm.o $(GNATMAKE_OBJS)
- +$(GCC_LINK) $(ALL_CFLAGS) -o $@ b_gnatm.o $(GNATMAKE_OBJS) $(TOOLS_LIBS)
+ +$(GCC_LINK) $(ALL_CFLAGS) -fno-PIE -o $@ b_gnatm.o $(GNATMAKE_OBJS) $(TOOLS_LIBS)
- ../../gnatlink$(exeext): $(P) b_gnatl.o link.o targext.o $(GNATLINK_OBJS)
+ ../../gnatlink$(exeext): $(P) b_gnatl.o $(GNATLINK_OBJS)
- +$(GCC_LINK) $(ALL_CFLAGS) -o $@ b_gnatl.o $(GNATLINK_OBJS) $(TOOLS_LIBS)
+ +$(GCC_LINK) $(ALL_CFLAGS) -fno-PIE -o $@ b_gnatl.o $(GNATLINK_OBJS) $(TOOLS_LIBS)