Skip to content

Commit

Permalink
openssh: Remove use of -ftrapv when using clang
Browse files Browse the repository at this point in the history
lang with '-ftrapv' generates 'call __mulodi4', which is only implemented
in compiler-rt library. However compiler-rt library only has i386/x86_64
backends (see '/usr/lib/clang/3.7.0/lib/linux/libclang_rt.*'). Gcc, on the
other hand, generate 'call __mulvdi3', which is implemented in libgcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Aug 22, 2015
1 parent 5a81b64 commit 34b8dd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes-connectivity/openssh/openssh_%.bbappend
@@ -0,0 +1,3 @@
do_configure_prepend() {
sed -i -e '/-ftrapv/d' ${S}/configure.ac
}

0 comments on commit 34b8dd2

Please sign in to comment.