OSDN Git Service

libgo: Always use AM_LDFLAGS when linking libgo.la.
[pf3gnuchains/gcc-fork.git] / libgo / Makefile.in
index 540366d..10f86f1 100644 (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)