mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 04:57:53 +00:00
Use -flto on Mac for release
This commit is contained in:
parent
6f9d1fc14c
commit
1977b9b764
@ -77,12 +77,14 @@ else(WIN32)
|
|||||||
$<$<CONFIG:DEBUG>:-O0>
|
$<$<CONFIG:DEBUG>:-O0>
|
||||||
$<$<CONFIG:RELEASE>:-Ofast>
|
$<$<CONFIG:RELEASE>:-Ofast>
|
||||||
$<$<CONFIG:RELEASE>:-fPIE>
|
$<$<CONFIG:RELEASE>:-fPIE>
|
||||||
|
$<$<CONFIG:RELEASE>:-flto>
|
||||||
$<$<CONFIG:RELWITHDEBINFO>:-Ofast>
|
$<$<CONFIG:RELWITHDEBINFO>:-Ofast>
|
||||||
$<$<CONFIG:RELWITHDEBINFO>:-fPIE>
|
$<$<CONFIG:RELWITHDEBINFO>:-fPIE>
|
||||||
$<$<CONFIG:RELWITHDEBINFO>:-g>
|
$<$<CONFIG:RELWITHDEBINFO>:-g>
|
||||||
)
|
)
|
||||||
add_link_options(
|
add_link_options(
|
||||||
-mmacosx-version-min=10.9
|
-mmacosx-version-min=10.9
|
||||||
|
$<$<CONFIG:RELEASE>:-flto>
|
||||||
)
|
)
|
||||||
|
|
||||||
elseif (
|
elseif (
|
||||||
|
Loading…
Reference in New Issue
Block a user