openbsd-ports/lang/gcc/4.7/patches/patch-libgo_Makefile_in
pascal 3c23183a62 Update to gcc 4.7.1.
- add some fixes for hppa, though it still isn't ready for prime time yet.
  Chances are it will only work with -O1, pending testing.  Many optimisations
  lead to broken code and segfaults on hppa.  Joint work with jsg@.
- fix libstdc++ upgrade path
- bring in recent fixes for execinfo/magic.h from 4.6

ok espie@
2012-07-01 18:56:45 +00:00

20 lines
786 B
Plaintext

$OpenBSD: patch-libgo_Makefile_in,v 1.2 2012/07/01 18:56:45 pascal Exp $
--- libgo/Makefile.in.orig Thu May 24 22:45:16 2012
+++ libgo/Makefile.in Wed Jun 20 14:39:13 2012
@@ -2000,13 +2000,14 @@ libgo_la_LIBADD = \
libgobegin_a_SOURCES = \
runtime/go-main.c
+include $(top_srcdir)/../libversions
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
AM_GOCFLAGS = $(STRINGOPS_FLAG)
GOCOMPILE = $(GOC) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_GOCFLAGS) $(GOCFLAGS)
LTGOCOMPILE = $(LIBTOOL) --tag GO --mode=compile $(GOC) $(INCLUDES) \
$(AM_GOCFLAGS) $(GOCFLAGS)
-GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) \
+GOLINK = $(LIBTOOL) --tag GO --mode-link $(GOC) $(LIBgo_LTVERSION) \
$(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_GOCFLAGS) $(LTLDFLAGS) -o $@