--- compile/ninja/macos.ninja +++ compile/ninja/macos.ninja 2025-12-31 03:50:26.000000000 +0800 @@ -111,8 +111,8 @@ build $obj/source_bootstrap/main.obj: cxx_source_bootstrap $ bee.lua/bootstrap/main.cpp rule link_bootstrap - command = $cc $in -o $out -lm -ldl -framework Foundation -framework $ - CoreFoundation -framework CoreServices -lstdc++ -Wl,-S,-x + command = $cxx $in -o $out -lm -ldl -framework Foundation -framework $ + CoreFoundation -framework CoreServices __MACPORTS_LDFLAGS__ description = Link Exe $out rule copy command = ditto $in$input $out 1>/dev/null