diff --git a/.rive_head b/.rive_head index 46970fa8..6f9ea6fc 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -cae08a3c5612afad5077dcd6008b73b33fa3c938 +e2328daeb02a92171cd3c0ab78c3c76695a9dd98 diff --git a/build/rive_build_config.lua b/build/rive_build_config.lua index 1e97ca19..25f9c3d9 100644 --- a/build/rive_build_config.lua +++ b/build/rive_build_config.lua @@ -113,14 +113,14 @@ do optimize('On') end -filter({ 'options:config=release', 'options:not no-lto', 'not system:ios or windows' }) +filter({ 'options:config=release', 'options:not no-lto', 'system:not macosx', 'system:not ios'}) do flags({ 'LinkTimeOptimization' }) end --- The 'LinkTimeOptimization' premake flag generates errors when building for ios. -filter({ 'options:config=release', 'options:not no-lto', 'system:ios' }) +filter({ 'options:config=release', 'options:not no-lto', 'system:macosx or ios' }) do + -- The 'LinkTimeOptimization' flag attempts to use llvm-ar, which doesn't always exist on macos. buildoptions({ '-flto=full' }) linkoptions({ '-flto=full' }) end