Commit 6f3691a
committed
Fix cross compilation for x86 targets from non-x86
When building on a non-x86 host the Makefile definitions for HAVE_* are
never printed which leads to build failures and/or silently targeting the
wrong microarchitecture. The issue is that INTEL_AMD is defined if the
host architecture is x86, but for cross builds we need to test whether
the target is x86. Test for that using the macro FORCE_INTEL.1 parent 4ac29b9 commit 6f3691a
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2046 | 2046 | | |
2047 | 2047 | | |
2048 | 2048 | | |
2049 | | - | |
2050 | | - | |
| 2049 | + | |
2051 | 2050 | | |
2052 | | - | |
| 2051 | + | |
2053 | 2052 | | |
2054 | 2053 | | |
2055 | 2054 | | |
| |||
2079 | 2078 | | |
2080 | 2079 | | |
2081 | 2080 | | |
2082 | | - | |
2083 | 2081 | | |
2084 | 2082 | | |
2085 | 2083 | | |
| |||
0 commit comments