summaryrefslogtreecommitdiffstats
path: root/main/gcc/gcc-go.patch
blob: a882a5a38ed03bacd04b6c4dc49b940c4ebb5007 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- gcc-4.6.1.orig/gcc/go/Make-lang.in
+++ gcc-4.6.1/gcc/go/Make-lang.in
@@ -63,7 +63,7 @@
 	go/unsafe.o
 
 go1$(exeext): $(GO_OBJS) attribs.o $(BACKEND) $(LIBDEPS)
-	$(CXX) $(ALL_CXXFLAGS) $(LDFLAGS) -o $@ \
+	$(CXX) $(ALL_CXXFLAGS) $(LDFLAGS) -fno-PIE -o $@ \
 	      $(GO_OBJS) attribs.o $(BACKEND) $(LIBS) $(BACKENDLIBS)
 
 # Documentation.