OSDN Git Service

libgo: Always use AM_LDFLAGS when linking libgo.la.
[pf3gnuchains/gcc-fork.git] / libgo / Makefile.am
index 9d2c8ef..c40456f 100644 (file)
@@ -1511,7 +1511,7 @@ libgo_go_objs = \
 
 libgo_la_SOURCES = $(runtime_files)
 
 
 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)
 
 libgo_la_LIBADD = \
        $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)