From d384750883216e7e19e01779d06bc36295380296 Mon Sep 17 00:00:00 2001 From: Daeho Ro <40587651+daeho-ro@users.noreply.github.com> Date: Mon, 20 Apr 2026 22:12:52 +0900 Subject: [PATCH] configure: remove `-c` to link test for macOS Changelog-None --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index bead274aac8d..0cd88749dc92 100755 --- a/configure +++ b/configure @@ -225,7 +225,7 @@ have_function_sections() echo "int foo(void); int foo(void) { return 0; }" > $TMPCFILE # We *want* this to fail if we get a warning, hence use -Werror. - $1 $2 -Werror -ffunction-sections -Wl,--gc-sections -c $TMPCFILE -o $TMPOBJFILE + $1 $2 -Werror -ffunction-sections -Wl,--gc-sections $TMPCFILE -o $TMPOBJFILE } usage()