Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use clang to compile openssh now #894

Merged
merged 2 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ TOOLCHAIN:pn-gcompat:mips = "gcc"
# mips-yoe-linux/mips-yoe-linux-ld: BFD (GNU Binutils) 2.37.20210721 assertion fail ../../bfd/elfxx-mips.c:3614
TOOLCHAIN:pn-php:mips = "gcc"

# Clang-15 compiled openSSH tools crash on target ssh-keygen specifically
TOOLCHAIN:pn-openssh = "gcc"

# Workaround oe-core patching problem temporarily
TOOLCHAIN:pn-rsync = "gcc"

Expand Down
5 changes: 4 additions & 1 deletion recipes-connectivity/openssl/openssl_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
LDLIBS:append:toolchain-clang:riscv64 = " -latomic"
LDLIBS:append:toolchain-clang:riscv32 = " -latomic"

do_configure:prepend:toolchain-clang () {
do_configure:prepend:toolchain-clang:riscv64 () {
export LDLIBS="${LDLIBS}"
}
do_configure:prepend:toolchain-clang:riscv32 () {
export LDLIBS="${LDLIBS}"
}