diff options
author | Armin Kuster <akuster808@gmail.com> | 2014-08-18 20:39:31 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2014-08-27 21:12:47 -0700 |
commit | b3f08c7b2bdf1bea28b081319d7c135af45f39e3 (patch) | |
tree | 43506680ca04e25b8c3688bb8bd075448fae001b | |
parent | 6328a58612c3105850819ede596900b062cdce3b (diff) | |
download | meta-security-b3f08c7b2bdf1bea28b081319d7c135af45f39e3.tar.gz |
samhain: arm build failure
| x_sh_error.c: In function 'sh_error_string':
| x_sh_error.c:1580:31: error: incompatible type for argument 1 of 'memmove'
| #define VA_COPY(ap1, ap2) memmove ((ap1), (ap2), sizeof (va_list))
| ^
| x_sh_error.c:1720:14: note: in expansion of macro 'VA_COPY'
| /*@i@*/VA_COPY(vl2, vl);
| ^
this patch fixes the arm build failure.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/samhain/samhain.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-security/samhain/samhain.inc b/recipes-security/samhain/samhain.inc index d6f9f82..772aa7b 100644 --- a/recipes-security/samhain/samhain.inc +++ b/recipes-security/samhain/samhain.inc | |||
@@ -37,6 +37,10 @@ do_unpack_extra () { | |||
37 | } | 37 | } |
38 | addtask unpack_extra after do_unpack before do_patch | 38 | addtask unpack_extra after do_unpack before do_patch |
39 | 39 | ||
40 | do_configure_prepend_arm() { | ||
41 | export sh_cv___va_copy=yes | ||
42 | } | ||
43 | |||
40 | # If we use oe_runconf in do_configure() it will by default | 44 | # If we use oe_runconf in do_configure() it will by default |
41 | # use the prefix --oldincludedir=/usr/include which is not | 45 | # use the prefix --oldincludedir=/usr/include which is not |
42 | # recognized by Samhain's configure script and would invariably | 46 | # recognized by Samhain's configure script and would invariably |