mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
5de64fcb5e
With a current mingw (gcc 4.8.1) it looks like we hit some variation of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40278 The end result is that off_t is not defined and the build fails without this patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198749 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
355 B
CMake
24 lines
355 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
BitReader
|
|
Core
|
|
MCDisassembler
|
|
Object
|
|
Target
|
|
)
|
|
|
|
if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wstrict-prototypes")
|
|
endif ()
|
|
|
|
add_llvm_tool(llvm-c-test
|
|
calc.c
|
|
disassemble.c
|
|
helpers.c
|
|
include-all.c
|
|
main.c
|
|
module.c
|
|
object.c
|
|
targets.c
|
|
)
|