From fcebdbe25d605f565b22f46ebfb9ca06845926a6 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 16 Jun 2022 16:53:40 -0700 Subject: [PATCH] compiler-rt: no more -ffunction-sections --- src/compiler_rt.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler_rt.zig b/src/compiler_rt.zig index 0440235d58..70276231ce 100644 --- a/src/compiler_rt.zig +++ b/src/compiler_rt.zig @@ -113,7 +113,6 @@ pub fn buildCompilerRtLib(comp: *Compilation, compiler_rt_lib: *?CRTFile) !void .main_pkg = null, .output_mode = .Lib, .link_mode = .Static, - .function_sections = true, .thread_pool = comp.thread_pool, .libc_installation = comp.bin_file.options.libc_installation, .emit_bin = emit_bin,