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
102
103
104
105
106
107

108
109
110
111
112
113
114
export build=$(global/build-id.sh)

if test "$p_headers_errno" = ""; then
	case $os in
		lin) p_headers_errno="${p_headers_errno:-/usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h}";;

		fbsd) p_headers_errno="${p_headers_errno:-/usr/include/errno.h}";;

	esac
fi

check p_headers_errno \
	'the location of a header defining the values of each errno symbol'

macro_compile_env="-Datom_target_arch=$arch -Datom_target_os=$os -Dtarget_posix=$posix -Dtarget_unix=$unix"







>







101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
export build=$(global/build-id.sh)

if test "$p_headers_errno" = ""; then
	case $os in
		lin) p_headers_errno="${p_headers_errno:-/usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h}";;

		fbsd) p_headers_errno="${p_headers_errno:-/usr/include/errno.h}";;
		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}";;
	esac
fi

check p_headers_errno \
	'the location of a header defining the values of each errno symbol'

macro_compile_env="-Datom_target_arch=$arch -Datom_target_os=$os -Dtarget_posix=$posix -Dtarget_unix=$unix"