Skip to content

cfe-4401: Improvements to Termux build#6125

Draft
craigcomstock wants to merge 13 commits into
cfengine:masterfrom
craigcomstock:CFE-4401-2/master
Draft

cfe-4401: Improvements to Termux build#6125
craigcomstock wants to merge 13 commits into
cfengine:masterfrom
craigcomstock:CFE-4401-2/master

Conversation

@craigcomstock
Copy link
Copy Markdown
Contributor

@craigcomstock craigcomstock commented May 12, 2026

No description provided.

Android/Termux doesn't have pthread_cancel so use pthred_kill instead

Ticket: CFE-4401
Changelog: title
… termux android platform, probably find an alternative or disable in Makefile.am instead
…mpilation in Termux environment

Ticket: CFE-4401
Changelog: title
AC_CHECK_FUNCS apparently doesn't take into account the __ANDROID_API__ level properly and so incorrectly determines that copy_file_range is available for termux at API 24 but copy_file_range is <= 34.

Ticket: none
Changelog: none
We already supported and included the termux class.
This change removes noise when running components like cf-agent.

Ticket: CFE-4427
Changelog: title
The re-entrant versions of srand() and friends aren't technically required and not using them enables compilation on platforms without glibc.

Ticket: none
Changelog: none
To include MaskTerminationSignalsThread() function now merged there which is required by commits in this pull request.

Ticket: CFE-4401
Changelog: none
@craigcomstock
Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins

@cf-bottom
Copy link
Copy Markdown

@craigcomstock
Copy link
Copy Markdown
Contributor Author

I see there is trouble in building for windows. I will work on a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants