summarylogtreecommitdiffstats
path: root/gcc-4.7.1-libada-pic.patch
diff options
context:
space:
mode:
authorFantix King2012-09-22 17:43:17 +0800
committerFantix King2015-11-08 20:36:27 +0800
commitd075d963a7f9eb1d10d8a76dbeaae94a376cadd1 (patch)
treeb7cb65eda42d6cc08ef0690cf9493d6494c55c08 /gcc-4.7.1-libada-pic.patch
downloadaur-d075d963a7f9eb1d10d8a76dbeaae94a376cadd1.tar.gz
4.7.1-4.1
Diffstat (limited to 'gcc-4.7.1-libada-pic.patch')
-rw-r--r--gcc-4.7.1-libada-pic.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.7.1-libada-pic.patch b/gcc-4.7.1-libada-pic.patch
new file mode 100644
index 00000000000..591da1e4a47
--- /dev/null
+++ b/gcc-4.7.1-libada-pic.patch
@@ -0,0 +1,12 @@
+diff -Naur gcc-4.7.1-orig/libada/Makefile.in gcc-4.7.1/libada/Makefile.in
+--- gcc-4.7.1-orig/libada/Makefile.in 2012-06-13 01:12:37.000000000 +1000
++++ gcc-4.7.1/libada/Makefile.in 2012-06-16 15:04:32.179911023 +1000
+@@ -54,7 +54,7 @@
+ PICFLAG = @PICFLAG@
+ GNATLIBFLAGS= -W -Wall -gnatpg -nostdinc
+ GNATLIBCFLAGS= -g -O2
+-GNATLIBCFLAGS_FOR_C = -W -Wall $(GNATLIBCFLAGS) \
++GNATLIBCFLAGS_FOR_C = -W -Wall $(GNATLIBCFLAGS) $(PICFLAG) \
+ -fexceptions -DIN_RTS @have_getipinfo@
+
+ host_subdir = @host_subdir@