Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure.ac: do not run conftest in case of cross compilation #849

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

ChenQi1989
Copy link
Contributor

It'll give us nothing but error like below:

./conftest: cannot execute binary file: Exec format error
...
./configure: line 23950: test: -eq: unary operator expected

The version check only has effect on Apple systems. We'd better avoid error like above when cross compilation.

Also, in case of cross compilation, instead of having the above Exec format error and resulting in unaligned_cv_fail to yes, set it directly to yes.

It'll give us nothing but error like below:

  ./conftest: cannot execute binary file: Exec format error
  ...
  ./configure: line 23950: test: -eq: unary operator expected

The version check only has effect on Apple systems. We'd better
avoid error like above when cross compilation.

Also, in case of cross compilation, instead of having the above
Exec format error and resulting in unaligned_cv_fail to yes, set
it directly to yes.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
@fklassen fklassen self-assigned this Jun 3, 2024
@fklassen fklassen changed the base branch from master to 4.5.0 June 3, 2024 00:32
@fklassen fklassen merged commit a7aab40 into appneta:4.5.0 Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants