mirror of
https://github.com/darlinghq/darling-shell_cmds.git
synced 2024-11-23 11:39:44 +00:00
Hide warnings
This commit is contained in:
parent
5bfb3963cf
commit
67decab24a
@ -11,6 +11,10 @@ add_definitions(-DTARGET_OS_MAC=1)
|
||||
add_definitions(-D__APPLE__ -D__DYNAMIC__)
|
||||
# add_definitions(-DSUPPORT_UTMPX)
|
||||
|
||||
add_definitions(
|
||||
-Wno-incompatible-pointer-types
|
||||
)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__DARWIN_UNIX03 -nostdinc -fPIC -ggdb -O0")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-nostdlib -Wl,--version-script=${DARLING_TOP_DIRECTORY}/darwin.map")
|
||||
|
||||
@ -146,4 +150,4 @@ set(man8
|
||||
renice/renice.8
|
||||
)
|
||||
|
||||
install(FILES ${man8} DESTINATION libexec/darling/usr/share/man/man8)
|
||||
install(FILES ${man8} DESTINATION libexec/darling/usr/share/man/man8)
|
||||
|
Loading…
Reference in New Issue
Block a user