summaryrefslogtreecommitdiff
path: root/libgomp/Makefile.am
diff options
context:
space:
mode:
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-09 14:37:31 +0000
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-09 14:37:31 +0000
commitcfe87ee0388f818bd4e7014c656a1461fe716658 (patch)
tree6c23875f961b80d37ae796be49d07a6f8b9ff11a /libgomp/Makefile.am
parent1f429ea0b702e1bcdc82f25a2a40a0ccf1615dd1 (diff)
downloadgcc-cfe87ee0388f818bd4e7014c656a1461fe716658.tar.gz
* Makefile.am (LTLDFLAGS): Define.
(LINK): Define. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148311 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/Makefile.am')
-rw-r--r--libgomp/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgomp/Makefile.am b/libgomp/Makefile.am
index d1967a0280b..ebb4b6ab8f7 100644
--- a/libgomp/Makefile.am
+++ b/libgomp/Makefile.am
@@ -41,6 +41,11 @@ if USE_FORTRAN
nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod
endif
+LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
+
+LINK = $(LIBTOOL) --tag CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LTLDFLAGS) -o $@
+
omp_lib_kinds.mod: omp_lib.mod
:
omp_lib.mod: omp_lib.f90