Hi,
since:
libitm_la_LDFLAGS
are now correctly applied Darwin no longer gets the "-Wl,-
undefined,dynamic_lookup"
(which I had mentioned before was surprising me with -no-undefined in
libitm_la_LDFLAGS).
Anyway, to make weak refs work with Darwin, we need that - and it
turns out that other GCC libs are built without "-no-undefined".
is the following OK for trunk?
Iain
libitm:
* Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined".
* Makefile.in: Regenerate.
Index: libitm/Makefile.am
===================================================================
--- libitm/Makefile.am (revision 181618)
+++ libitm/Makefile.am (working copy)
@@ -54,8 +54,7 @@ libitm_version_info = -version-info $(libtool_VERS
# want or need libstdc++.
libitm_la_DEPENDENCIES = $(libitm_version_dep)
libitm_la_LINK = $(LINK) $(libitm_la_LDFLAGS)
-libitm_la_LDFLAGS = $(libitm_version_info) $(libitm_version_script) \
- -no-undefined
+libitm_la_LDFLAGS = $(libitm_version_info) $(libitm_version_script)
libitm_la_SOURCES = \
aatree.cc alloc.cc alloc_c.cc alloc_cpp.cc barrier.cc beginend.cc \