diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-04-06 06:01:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-04-06 06:01:53 +0000 |
commit | 5c8e495222feb72e432b8e701961a6becf5f78b2 (patch) | |
tree | 38553f8aaa337ae1beec413932756f2c747e97b9 /libgo | |
parent | 4925d0d5e58a2fc1207d9b28b1920c5114268f13 (diff) | |
download | gcc-5c8e495222feb72e432b8e701961a6becf5f78b2.zip gcc-5c8e495222feb72e432b8e701961a6becf5f78b2.tar.gz gcc-5c8e495222feb72e432b8e701961a6becf5f78b2.tar.bz2 |
libgo: Always use AM_LDFLAGS when linking libgo.la.
This ensures that we pass -fsplit-stack as required.
From-SVN: r172018
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/Makefile.am | 2 | ||||
-rw-r--r-- | libgo/Makefile.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index 9d2c8ef..c40456f 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -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) diff --git a/libgo/Makefile.in b/libgo/Makefile.in index 540366d..10f86f1 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -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) |