summaryrefslogtreecommitdiff
path: root/core/gcc/gcc-4.7.1-libada-pic.patch
blob: 591da1e4a472bc9162d3c3e8401c5570503ac4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
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@