summaryrefslogtreecommitdiffstats
path: root/main/gcc/ada-no-pie.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-08-01 11:24:19 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-08-01 08:58:40 +0000
commita8d5c91ba40ff7caefec55573990ce39fa77a123 (patch)
tree5f31fea5452ab6236f1999d9c57cf8f16752e71d /main/gcc/ada-no-pie.patch
parent9e811d5cf8ba441bf682e1798f2755885e5d88cc (diff)
downloadaports-a8d5c91ba40ff7caefec55573990ce39fa77a123.tar.bz2
aports-a8d5c91ba40ff7caefec55573990ce39fa77a123.tar.xz
main/gcc: ugprade to 4.8.3
Diffstat (limited to 'main/gcc/ada-no-pie.patch')
-rw-r--r--main/gcc/ada-no-pie.patch17
1 files changed, 8 insertions, 9 deletions
diff --git a/main/gcc/ada-no-pie.patch b/main/gcc/ada-no-pie.patch
index a38db8719..39cdb85e3 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-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 @@
gnatchop gnatcmd gnatkr gnatls gnatprep gnatxref gnatfind gnatname \
gnatclean -bargs $(ADA_INCLUDES) $(GNATBIND_FLAGS)
@@ -51,17 +51,16 @@
$(MV) ../../gnatlinknew$(exeext) ../../gnatlink$(exeext)
# Needs to be built with CC=gcc
-@@ -2519,11 +2519,11 @@
+@@ -2519,10 +2519,10 @@
# Likewise for the tools
../../gnatmake$(exeext): $(P) b_gnatm.o link.o targext.o $(GNATMAKE_OBJS)
-- $(GCC_LINK) $(ALL_CFLAGS) $(LDFLAGS) -o $@ b_gnatm.o $(GNATMAKE_OBJS) \
-+ $(GCC_LINK) $(ALL_CFLAGS) -fno-PIE $(LDFLAGS) -o $@ b_gnatm.o $(GNATMAKE_OBJS) \
- $(TOOLS_LIBS)
+- +$(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)
-- $(GCC_LINK) $(ALL_CFLAGS) $(LDFLAGS) -o $@ b_gnatl.o $(GNATLINK_OBJS) \
-+ $(GCC_LINK) $(ALL_CFLAGS) -fno-PIE $(LDFLAGS) -o $@ b_gnatl.o $(GNATLINK_OBJS) \
- $(TOOLS_LIBS)
+- +$(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)
../stamp-gnatlib-$(RTSDIR):
+ @if [ ! -f stamp-gnatlib-$(RTSDIR) ] ; \