Skip to content

Commit

Permalink
nonclangable: elfuitls: add unused-const-variable fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Mar 19, 2024
1 parent 9357f4c commit 80a6f27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ TOOLCHAIN:pn-grub:aarch64 = "gcc"
TOOLCHAIN:pn-crash = "gcc"
# See https://github.com/llvm/llvm-project/issues/71925
LIBCPLUSPLUS:pn-elfutils:toolchain-clang = "-stdlib=libstdc++"
# Remove it once https://lore.kernel.org/openembedded-core/[email protected]/T/#u is merged
CXXFLAGS:append:pn-elfutils:toolchain-clang = " -Wno-error=unused-const-variable"
#| erl_bits.c:(.text+0xc2a): undefined reference to `__extendhfsf2'
#| erl_bits.c:(.text+0x1bfa): undefined reference to `__truncsfhf2'
#| clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Expand Down

0 comments on commit 80a6f27

Please sign in to comment.