diff options
| author | Paul Burton <[email protected]> | 2018-08-07 16:06:41 -0700 |
|---|---|---|
| committer | Paul Burton <[email protected]> | 2018-08-07 16:16:08 -0700 |
| commit | c6d6f4c55f5cda5a7fa5a08eede0eb289937c328 (patch) | |
| tree | 1d98da834a50213a3572f599c2c49fbff62311ed /lib/mpi/mpi-inline.h | |
| parent | 36dc5b20e31db5cd470eb1934815320e7a0434c3 (diff) | |
MIPS: Always specify -EB or -EL when using clang
When building using clang, always specify -EB or -EL in order to ensure
we target the desired endianness.
Since clang cross compiles using a single compiler build with multiple
targets, our -dumpmachine tests which don't specify clang's --target
argument check output based upon the build machine rather than the
machine our build will target. This means our detection of whether to
specify -EB fails miserably & we never do. Providing the endianness flag
unconditionally for clang resolves this issue & simplifies the clang
path somewhat.
Signed-off-by: Paul Burton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions