mirror of
https://github.com/darlinghq/darling-shell_cmds.git
synced 2024-11-23 11:39:44 +00:00
Build binaries with DARWIN version string for loading with dyld
This commit is contained in:
parent
c3b5275576
commit
aa3a856b88
@ -12,7 +12,7 @@ add_definitions(-D__APPLE__ -D__DYNAMIC__)
|
||||
# add_definitions(-DSUPPORT_UTMPX)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__DARWIN_UNIX03 -nostdinc -fPIC -ggdb -O0")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-nostdlib")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-nostdlib -Wl,--version-script=${DARLING_TOP_DIRECTORY}/darwin.map")
|
||||
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/libc/include/FreeBSD)
|
||||
include_directories(${DARLING_TOP_DIRECTORY}/src/libc/include/NetBSD)
|
||||
|
Loading…
Reference in New Issue
Block a user