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:
parent
4925d0d5e5
commit
5c8e495222
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user