libk  Changes On Branch 960d952eedd55684

Changes In Branch BAD Excluding Merge-Ins

This is equivalent to a diff from 481509e134 to 960d952eed

2019-10-22
22:21
Add errno locations for Android, as an initial step check-in: 357c708c52 user: glow tags: trunk
19:43
Add default errno locations for building on Android with Termux Should probably be revised, but this is a starting point. Leaf check-in: 960d952eed user: glowpelt tags: BAD
2019-10-21
04:28
don't clobber callee-saved registers check-in: 481509e134 user: lexi tags: trunk
01:46
fix broken commit check-in: bdb84af41a user: lexi tags: trunk

Modified build.sh from [4c9dbc8e12] to [1a5246e64d].

   101    101   export build=$(global/build-id.sh)
   102    102   
   103    103   if test "$p_headers_errno" = ""; then
   104    104   	case $os in
   105    105   		lin) p_headers_errno="${p_headers_errno:-/usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h}";;
   106    106   
   107    107   		fbsd) p_headers_errno="${p_headers_errno:-/usr/include/errno.h}";;
          108  +		and) p_headers_errno="${p_headers_errno:-/data/data/com.termux/files/usr/include/asm-generic/errno.h /data/data/com.termux/files/usr/include/asm-generic/errno-base.h}";;
   108    109   	esac
   109    110   fi
   110    111   
   111    112   check p_headers_errno \
   112    113   	'the location of a header defining the values of each errno symbol'
   113    114   
   114    115   macro_compile_env="-Datom_target_arch=$arch -Datom_target_os=$os -Dtarget_posix=$posix -Dtarget_unix=$unix"