mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 20:29:47 +00:00
Fix CMake troubles on i386
This commit is contained in:
parent
560a399ea0
commit
662acb3f97
@ -19,6 +19,6 @@ set(i386_sources
|
||||
gen/_setcontext.S
|
||||
)
|
||||
|
||||
add_library(libc-i386 OBJECT ${i386_sources})
|
||||
add_library(libc-hwplat OBJECT ${i386_sources})
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ set(sys_sources chmodx_np.c
|
||||
)
|
||||
|
||||
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i686")
|
||||
set(sys_sources ${sys_sources} context-stubs.cpp)
|
||||
set(sys_sources ${sys_sources} context-stubs.c)
|
||||
endif()
|
||||
|
||||
SET_SOURCE_FILES_PROPERTIES(semctl.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -DLIBC_ALIAS_SEMCTL -DKERNEL -U__DARWIN_UNIX03 -D__DARWIN_UNIX03=0")
|
||||
|
Loading…
Reference in New Issue
Block a user