samhain-client: Erorr Fix

The Error is as following:
 # /usr/sbin/samhain -t init -p info
 ......
 Segmentation fault
 # echo $?
 139

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Li Xin
2016-03-07 06:49:50 +03:00
committed by Armin Kuster
parent ab117a8642
commit e55b217bfa

View File

@@ -50,7 +50,12 @@ do_configure_prepend_aarch64() {
# recognized by Samhain's configure script and would invariably
# throw back the error "unrecognized option: --oldincludedir=/usr/include"
do_configure () {
cd ${S}
cat << EOF > ./config-site.${BP}
ssp_cv_lib=no
sh_cv_va_copy=yes
EOF
export CONFIG_SITE=./config-site.${BP}
./configure \
--build=${BUILD_SYS} \
--host=${HOST_SYS} \