diff options
author | Charles Hardin <ckhardin@gmail.com> | 2018-05-21 09:19:30 -0700 |
---|---|---|
committer | Charles Hardin <charles.hardin@storagecraft.com> | 2018-06-28 14:29:47 -0700 |
commit | f1b841b62896fc47bbd47e20e81e17a003bb54b1 (patch) | |
tree | 611ec6722eb09c58485d3d2af615d3ce14761759 /protobuf.bzl | |
parent | f25e7edfa40c12300cf7dd3837b82841d095a79a (diff) |
Fix to allow a compilation under mips big endian with gcc
The __MIPSEL__ is mips little endian, specific and we needed
to compile for a big endian mips target that also happened
to be a mips64, so replaced the __MIPSEL__ with a __mip__
which should preserve the build on little endian and allow a
build for a big endian setup.
$ echo | mips64-linux-gcc -E -dM -
... snip snip ...
#define __mips__ 1
#define __MIPSEB__ 1
Signed-off-by: Charles Hardin <ckhardin@gmail.com>
Diffstat (limited to 'protobuf.bzl')
0 files changed, 0 insertions, 0 deletions