Index: lib/Driver/ToolChains/Fuchsia.cpp =================================================================== --- lib/Driver/ToolChains/Fuchsia.cpp +++ lib/Driver/ToolChains/Fuchsia.cpp @@ -65,8 +65,10 @@ if (Args.hasArg(options::OPT_r)) CmdArgs.push_back("-r"); - else + else { CmdArgs.push_back("--build-id"); + CmdArgs.push_back("--hash-style=gnu"); + } if (!Args.hasArg(options::OPT_static)) CmdArgs.push_back("--eh-frame-hdr");