diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-18 13:47:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-18 13:48:29 +0000 |
commit | de7b37cbad5d595786fa1b78bed8dac552de1b27 (patch) | |
tree | f3d4018950c3bc36a87295c8e73449b6779a11eb /testing/gcc/gcc-go.patch | |
parent | 65270d710ceaa587b576c9d745628fb75d6b11aa (diff) | |
download | aports-de7b37cbad5d595786fa1b78bed8dac552de1b27.tar.bz2 aports-de7b37cbad5d595786fa1b78bed8dac552de1b27.tar.xz |
testing/gcc: enable gccgo. fix -fsplit-stack
Diffstat (limited to 'testing/gcc/gcc-go.patch')
-rw-r--r-- | testing/gcc/gcc-go.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/gcc/gcc-go.patch b/testing/gcc/gcc-go.patch new file mode 100644 index 0000000000..a882a5a38e --- /dev/null +++ b/testing/gcc/gcc-go.patch @@ -0,0 +1,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. |