[MIPS] Fix build issue for mips64el

Fixing build issue for mips64el by removing
WEBRTC_ARCH_MIPS64_FAMILY, and using WEBRTC_ARCH_MIPS_FAMILY
for both mipsel and mips64el.

BUG=undefined reference to webrtc::BlockDifference_SSE2_W32()
TEST=GYP_DEFINES="target_arch=mips64el mips_arch_variant=r2
     sysroot=<PATH_TO_SYSROOT>" webrtc/build/gyp_webrtc.py
     ninja -C out/Release
NOTRY=True

Review-Url: https://codereview.webrtc.org/2091433002
Cr-Commit-Position: refs/heads/master@{#13272}
This commit is contained in:
milko.leporis 2016-06-23 03:52:28 -07:00 committed by Commit bot
parent d4bcdad263
commit 1fdcc28b25

View File

@ -37,12 +37,12 @@
#define WEBRTC_ARCH_32_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
#elif defined(__MIPSEL__)
#if defined(__LP64__)
#define WEBRTC_ARCH_MIPS64_FAMILY
#else
#define WEBRTC_ARCH_MIPS_FAMILY
#endif
#if defined(__LP64__)
#define WEBRTC_ARCH_64_BITS
#else
#define WEBRTC_ARCH_32_BITS
#endif
#define WEBRTC_ARCH_LITTLE_ENDIAN
#elif defined(__pnacl__)
#define WEBRTC_ARCH_32_BITS