Changeset 15327 in niluje


Ignore:
Timestamp:
Aug 21, 2018, 4:11:32 AM (23 months ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • Tweak glib x-compile test overrides to better reflect reality (at least on semi-recent Linux systems… Hopefully things won't implode on the K3 TC)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/x-compile.sh

    r15326 r15327  
    28562856autoreconf -fi
    28572857# Cf. https://developer.gnome.org/glib/stable/glib-cross-compiling.html
     2858export glib_cv_long_long_format=ll
    28582859export glib_cv_stack_grows=no
     2860export glib_cv_have_strlcpy=no  # libbsd, not libc
     2861if [[ "${KINDLE_TC}" == "K3" ]] ; then
     2862        # Glibc >= 2.8!
     2863        export glib_cv_have_qsort_r=no
     2864else
     2865        export glib_cv_have_qsort_r=yes
     2866fi
    28592867export glib_cv_uscore=yes
    28602868export ac_cv_func_posix_getpwuid_r=yes
    28612869export ac_cv_func_posix_getgrgid_r=yes
     2870export ac_cv_func_printf_unix98=yes
     2871export ac_cv_func_vsnprintf_c99=yes
    28622872./configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --enable-shared=yes --enable-static=yes --disable-libelf --disable-selinux --with-python=python2.7 --disable-compile-warnings --with-pcre=system --with-threads=posix --disable-libmount
    28632873make ${JOBSFLAGS} V=1
    28642874make install
    2865 unset glib_cv_stack_grows glib_cv_uscore ac_cv_func_posix_getpwuid_r c_cv_func_posix_getgrgid_r
     2875unset glib_cv_long_long_format glib_cv_stack_grows glib_cv_have_strlcpy glib_cv_have_qsort_r glib_cv_uscore ac_cv_func_posix_getpwuid_r c_cv_func_posix_getgrgid_r ac_cv_func_printf_unix98 ac_cv_func_vsnprintf_c99
    28662876
    28672877# And of course FUSE ;)
Note: See TracChangeset for help on using the changeset viewer.