diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-08-22 10:47:46 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2015-08-22 10:47:46 -0700 |
commit | 34b8dd2d920feeb661f62f23e984ce37ed364321 (patch) | |
tree | 7a0d879fba0dd3275c373178df19ed53b363d19c | |
parent | 5a81b64657409fe1c226a978b53f2166e602687a (diff) | |
download | meta-clang-34b8dd2d920feeb661f62f23e984ce37ed364321.tar.gz |
openssh: Remove use of -ftrapv when using clang
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>
-rw-r--r-- | recipes-connectivity/openssh/openssh_%.bbappend | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-connectivity/openssh/openssh_%.bbappend b/recipes-connectivity/openssh/openssh_%.bbappend new file mode 100644 index 0000000..88966e5 --- /dev/null +++ b/recipes-connectivity/openssh/openssh_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | do_configure_prepend() { | ||
2 | sed -i -e '/-ftrapv/d' ${S}/configure.ac | ||
3 | } | ||