mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
libgcrypt: enable asm support, fix crosscompiling with enabled asm support
Signed-off-by: Stephan Raue <stephan@openelec.tv> (cherry picked from commit 3cda541a8aee5664bf9fe1247e8014b70ade4a32)
This commit is contained in:
parent
f99192fff6
commit
7dc9988eea
@ -31,7 +31,10 @@ PKG_LONGDESC="Libgcrypt is a general purpose cryptographic library based on the
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-asm --with-gnu-ld --with-libgpg-error-prefix=$SYSROOT_PREFIX/usr"
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_sys_symbol_underscore=no \
|
||||
--enable-asm \
|
||||
--with-gnu-ld \
|
||||
--with-libgpg-error-prefix=$SYSROOT_PREFIX/usr"
|
||||
|
||||
post_makeinstall_target() {
|
||||
sed -e "s:\(['= ]\)\"/usr:\\1\"$SYSROOT_PREFIX/usr:g" -i src/$PKG_NAME-config
|
||||
|
@ -0,0 +1,27 @@
|
||||
diff --git a/acinclude.m4 b/acinclude.m4
|
||||
index a7bc0fa..1a5bffc 100644
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -76,13 +76,14 @@ case "${host}" in
|
||||
i386-emx-os2 | i[3456]86-pc-os2*emx | i386-pc-msdosdjgpp)
|
||||
ac_cv_sys_symbol_underscore=yes
|
||||
;;
|
||||
- *)
|
||||
- if test "$cross_compiling" = yes; then
|
||||
- if test "x$ac_cv_sys_symbol_underscore" = x ; then
|
||||
- ac_cv_sys_symbol_underscore=yes
|
||||
- fi
|
||||
- else
|
||||
- tmp_do_check="yes"
|
||||
+ *) if test -z "$ac_cv_sys_symbol_underscore"; then
|
||||
+ if test "$cross_compiling" = yes; then
|
||||
+ if test "x$ac_cv_sys_symbol_underscore" = x ; then
|
||||
+ ac_cv_sys_symbol_underscore=yes
|
||||
+ fi
|
||||
+ else
|
||||
+ tmp_do_check="yes"
|
||||
+ fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user