diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-10-02 19:36:31 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-10-02 19:36:31 +0000 |
commit | 7d26948662d222be28bd6be509c40f8aff954da5 (patch) | |
tree | 5e4a6f3867abad98846d016b43bd63ea6c9910a7 /lib | |
parent | 8bff4af61219031345e7dae0c1840315e6bfab7f (diff) | |
download | external_llvm-7d26948662d222be28bd6be509c40f8aff954da5.zip external_llvm-7d26948662d222be28bd6be509c40f8aff954da5.tar.gz external_llvm-7d26948662d222be28bd6be509c40f8aff954da5.tar.bz2 |
MingW build fixes
- MingW needs -lpsapi (in ${LIBS}) linked after -lLLVMSystem.
Noticed by Ronald Pijnacker!
- Some parts of the System library must be build with exceptions on windows.
Based on a patch by Jay Foad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/System/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/System/Makefile b/lib/System/Makefile index 49704c3..d4fd60e 100644 --- a/lib/System/Makefile +++ b/lib/System/Makefile @@ -11,6 +11,12 @@ LEVEL = ../.. LIBRARYNAME = LLVMSystem BUILD_ARCHIVE = 1 +include $(LEVEL)/Makefile.config + +ifeq ($(HOST_OS),MingW) + REQUIRES_EH := 1 +endif + EXTRA_DIST = Unix Win32 README.txt include $(LEVEL)/Makefile.common |