Skip to content
  • Cheng Shao's avatar
    0958937e
    hadrian: build C/C++ with split sections when enabled · 0958937e
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    When split sections is enabled, ensure -fsplit-sections is passed to
    GHC as well when invoking GHC to compile C/C++; and pass
    -ffunction-sections -fdata-sections to gcc/clang when compiling C/C++
    with the hadrian Cc builder. Fixes #23381.
    0958937e
    hadrian: build C/C++ with split sections when enabled
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    When split sections is enabled, ensure -fsplit-sections is passed to
    GHC as well when invoking GHC to compile C/C++; and pass
    -ffunction-sections -fdata-sections to gcc/clang when compiling C/C++
    with the hadrian Cc builder. Fixes #23381.
Loading