From c6ab02c903cd12ae54f20771664d0b6b31841bab Mon Sep 17 00:00:00 2001 From: Ricky Stewart Date: Thu, 6 Apr 2023 12:12:52 -0500 Subject: [PATCH] build: pass `-fno-use-linker-plugin` to compiler The missing flag here was causing builds of krb5 to fail. Epic: none Release note: None --- build/toolchains/crosstool-ng/cc_toolchain_config.bzl.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/build/toolchains/crosstool-ng/cc_toolchain_config.bzl.tmpl b/build/toolchains/crosstool-ng/cc_toolchain_config.bzl.tmpl index dec0c8fb037f..356f98b25170 100644 --- a/build/toolchains/crosstool-ng/cc_toolchain_config.bzl.tmpl +++ b/build/toolchains/crosstool-ng/cc_toolchain_config.bzl.tmpl @@ -119,6 +119,7 @@ def _impl(ctx): "-Iexternal/%{repo_name}/%{target}/include/c++/6.5.0", "-no-canonical-prefixes", "-fno-canonical-system-headers", + "-fno-use-linker-plugin", ], ), ]),