-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
As clang
is natively a cross compiler, relying on the compiler prefix as the sole heuristic to determine means anyone not using a prefixed compiler is unable to cross compile. For example, if using clang --sysroot=... --target=...
the autoconf --host
will not be set.
To work around this, there are only 3 ways I know of:
- Hope the library provides an override (e.g.
MP3LAME_SYS_OVERRIDE_HOST
) - Patch the library.
- Create wrappers/symlinks for the compiler.
None of these options are particularly great. Hence, I propose a new variable: AUTOTOOLS_RS_OVERRIDE_HOST
. Setting this variable will override the host config option to the user's choice, making it much easier to cross compile.
Metadata
Metadata
Assignees
Labels
No labels