libgo: Always use AM_LDFLAGS when linking libgo.la.

This ensures that we pass -fsplit-stack as required.

From-SVN: r172018
This commit is contained in:
Ian Lance Taylor 2011-04-06 06:01:53 +00:00
parent 4925d0d5e5
commit 5c8e495222
2 changed files with 2 additions and 2 deletions

View File

@ -1511,7 +1511,7 @@ libgo_go_objs = \
libgo_la_SOURCES = $(runtime_files)
libgo_la_LDFLAGS = $(PTHREAD_CFLAGS)
libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
libgo_la_LIBADD = \
$(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)

View File

@ -1848,7 +1848,7 @@ libgo_go_objs = \
testing/script.lo
libgo_la_SOURCES = $(runtime_files)
libgo_la_LDFLAGS = $(PTHREAD_CFLAGS)
libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS)
libgo_la_LIBADD = \
$(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)