Commit 27cfb8d
committed
configure: fix broken cross-compilation detection
Assume the build as native if the compiler for the host and the build
machine are the same.
For example, cbuild (Chimera Linux package builder) defines both the
host and the build compiler, regardless of native or cross build.
Also, assuming the build as native in this case is consistent with GNU
autotools behaviour.1 parent 20bb598 commit 27cfb8d
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
453 | 463 | | |
454 | 464 | | |
455 | 465 | | |
| |||
0 commit comments