Skip to content

Build system does not work with Android NDK cross compiler #111

Open
@truboxl

Description

@truboxl

The configure script operates on the basis that tests are compiled and run on build machine. config.h and config.mk are generated so that final blink binary works on the build machine.

This does not work for Android in which Android NDK are cross compilers. configure tests are cross compiled, erroneously run on build machine, failed and disabling all features.

Example log: https://github.com/termux/termux-packages/actions/runs/4768306570/jobs/8477478253#step:6:426

My past effort but abandoned:
https://github.com/truboxl/termux-packages/pull/88/files
https://github.com/truboxl/termux-packages/pull/91/files

Any chance to improve this situation?
Will manually intervene config.h and config.mk for now downstream...

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions