Overview
Comment: | Add default errno locations for building on Android with Termux Should probably be revised, but this is a starting point. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | BAD |
Files: | files | file ages | folders |
SHA3-256: |
960d952eedd55684ad194891cdc6b2df |
User & Date: | glowpelt on 2019-10-22 19:43:58 |
Original User & Date: | u0_a201 on 2019-10-22 19:43:58 |
Other Links: | branch diff | manifest | tags |
Context
2019-10-22
| ||
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 | |
Changes
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"