Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 922494
Collapse All | Expand All

(-)a/gcc-13-20240113/gcc/gcc.cc (-6 / +1 lines)
Lines 1077-1083 proper position among the other output files. */ Link Here
1077
   -fuse-linker-plugin if the linker used understands -plugin.  */
1077
   -fuse-linker-plugin if the linker used understands -plugin.  */
1078
1078
1079
/* The linker has some plugin support.  */
1079
/* The linker has some plugin support.  */
1080
#if HAVE_LTO_PLUGIN > 0
1080
1081
/* The linker used has full plugin support, use LTO plugin by default.  */
1081
/* The linker used has full plugin support, use LTO plugin by default.  */
1082
#if HAVE_LTO_PLUGIN == 2
1082
#if HAVE_LTO_PLUGIN == 2
1083
#define PLUGIN_COND "!fno-use-linker-plugin:%{!fno-lto"
1083
#define PLUGIN_COND "!fno-use-linker-plugin:%{!fno-lto"
Lines 1097-1107 proper position among the other output files. */ Link Here
1097
    %{flinker-output=*:-plugin-opt=-linker-output-known} \
1097
    %{flinker-output=*:-plugin-opt=-linker-output-known} \
1098
    %{!nostdlib:%{!nodefaultlibs:%:pass-through-libs(%(link_gcc_c_sequence))}} \
1098
    %{!nostdlib:%{!nodefaultlibs:%:pass-through-libs(%(link_gcc_c_sequence))}} \
1099
    }" PLUGIN_COND_CLOSE
1099
    }" PLUGIN_COND_CLOSE
1100
#else
1101
/* The linker used doesn't support -plugin, reject -fuse-linker-plugin.  */
1102
#define LINK_PLUGIN_SPEC "%{fuse-linker-plugin:\
1103
    %e-fuse-linker-plugin is not supported in this configuration}"
1104
#endif
1105
1100
1106
/* Linker command line options for -fsanitize= early on the command line.  */
1101
/* Linker command line options for -fsanitize= early on the command line.  */
1107
#ifndef SANITIZER_EARLY_SPEC
1102
#ifndef SANITIZER_EARLY_SPEC

Return to bug 922494