build: remove debug symbols from macos release

This commit is contained in:
Joe Bryan 2022-04-03 15:45:20 -04:00
parent 212ff3a2f9
commit 77634b14f7

View File

@ -16,7 +16,7 @@ let
# See https://github.com/urbit/urbit/issues/5561
oFlags =
if stdenv.hostPlatform.system == "aarch64-darwin"
if stdenv.isDarwin
then (if enableDebug then [ "-O0" "-g" ] else [ "-O3" ])
else [ (if enableDebug then "-O0" else "-O3") "-g" ];