diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-10-16 07:14:18 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-10-18 09:55:55 -0700 |
commit | 8f640fb5da434dc26cffa05a4aae30219ffe9be0 (patch) | |
tree | 241502abb43e61d10c47b5b38b98bb77a3ad10f1 | |
parent | e87f6f4fe04ac6d0ab61e8a0a216c4ddccb3fb7c (diff) | |
download | meta-openembedded-contrib-8f640fb5da434dc26cffa05a4aae30219ffe9be0.tar.gz |
protobuf-c: Do not use gold linker
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf-c_1.4.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.4.0.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.4.0.bb index cc037d3934..b5ab0a171c 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.4.0.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.4.0.bb @@ -19,6 +19,8 @@ S = "${WORKDIR}/git" inherit autotools pkgconfig +LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" + # After several fix attempts there is still a race between generating # t.test-full.pb.h and compiling cxx_generate_packed_data.c despite # BUILT_SOURCES and explicit dependencies. |