diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-12-29 03:59:14 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-12-29 03:59:14 +0000 |
commit | 495afdffd75d1493cb44c9486e3a6c8d56128e5c (patch) | |
tree | 3d01faa98f5dcd40810a1680005fd3c190e42a5f /llvm/tools/llvm-shlib | |
parent | c6fce17b3eb6daaefd349ecd8ceb26cd98b7a709 (diff) | |
download | bcm5719-llvm-495afdffd75d1493cb44c9486e3a6c8d56128e5c.tar.gz bcm5719-llvm-495afdffd75d1493cb44c9486e3a6c8d56128e5c.zip |
autoconf: Add --disable-embed-stdcxx to suppress linking libstdc++.a into llvm.dll with --enable-shared on Cygming.
Cygwin has stdc++.dll in it's distribution, and we can assume distro's stdc++.dll might be available.
llvm-svn: 122622
Diffstat (limited to 'llvm/tools/llvm-shlib')
-rw-r--r-- | llvm/tools/llvm-shlib/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/tools/llvm-shlib/Makefile b/llvm/tools/llvm-shlib/Makefile index 60b54350ee9..e7605c8f4e3 100644 --- a/llvm/tools/llvm-shlib/Makefile +++ b/llvm/tools/llvm-shlib/Makefile @@ -18,11 +18,12 @@ SHARED_LIBRARY = 1 include $(LEVEL)/Makefile.config ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) - EXPORTED_SYMBOL_FILE = $(ObjDir)/$(LIBRARYNAME).exports + EXPORTED_SYMBOL_FILE = $(ObjDir)/$(LIBRARYNAME).exports + ifeq (1,$(ENABLE_EMBED_STDCXX)) # It is needed to force static-stdc++.a linked. - # FIXME: It should be omitted when configure detects system's stdc++.dll. SHLIB_FRAG_NAMES += stdc++.a.o + endif endif |