diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-07-28 20:55:16 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-07-28 20:55:16 +0000 |
commit | 6bd4842f89ef0f6a53b78664f9f3f2a1006117a9 (patch) | |
tree | 1a31d2601673022d27dec259b13a4879f8733f41 /utils/TableGen/CMakeLists.txt | |
parent | cc07e04262fe4bc35469fbadc53d2ec7bfd02fe2 (diff) | |
download | external_llvm-6bd4842f89ef0f6a53b78664f9f3f2a1006117a9.zip external_llvm-6bd4842f89ef0f6a53b78664f9f3f2a1006117a9.tar.gz external_llvm-6bd4842f89ef0f6a53b78664f9f3f2a1006117a9.tar.bz2 |
Fix Clang attribute reader tblgen output for a corresponding fix on the Clang side
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CMakeLists.txt')
-rw-r--r-- | utils/TableGen/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/TableGen/CMakeLists.txt b/utils/TableGen/CMakeLists.txt index 4d71259..047d731 100644 --- a/utils/TableGen/CMakeLists.txt +++ b/utils/TableGen/CMakeLists.txt @@ -52,6 +52,9 @@ add_llvm_utility(tblgen target_link_libraries(tblgen LLVMSupport) if( MINGW ) target_link_libraries(tblgen imagehlp psapi) + if(CMAKE_SIZEOF_VOID_P MATCHES "8") + set_target_properties(tblgen PROPERTIES LINK_FLAGS -Wl,--stack,16777216) + endif(CMAKE_SIZEOF_VOID_P MATCHES "8") endif( MINGW ) if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD AND NOT BEOS ) target_link_libraries(tblgen pthread) |