14 lines
574 B
Diff
14 lines
574 B
Diff
--- llvm-6.0.0.src/cmake/modules/HandleLLVMOptions.cmake.orig 2018-06-06 14:33:51.928460200 +0300
|
|
+++ llvm-6.0.0.src/cmake/modules/HandleLLVMOptions.cmake 2018-06-06 14:33:59.840471400 +0300
|
|
@@ -312,9 +312,7 @@
|
|
# Pass -mbig-obj to mingw gas on Win64. COFF has a 2**16 section limit, and
|
|
# on Win64, every COMDAT function creates at least 3 sections: .text, .pdata,
|
|
# and .xdata.
|
|
- if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|
- append("-Wa,-mbig-obj" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
|
|
- endif()
|
|
+ append("-Wa,-mbig-obj" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
|
|
endif()
|
|
|
|
if( MSVC )
|