From 1fdcc28b25a257d460582e25956b43ef17ce03bd Mon Sep 17 00:00:00 2001 From: "milko.leporis" Date: Thu, 23 Jun 2016 03:52:28 -0700 Subject: [PATCH] [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=" 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} --- webrtc/typedefs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webrtc/typedefs.h b/webrtc/typedefs.h index e65b77a65f..98b32f7720 100644 --- a/webrtc/typedefs.h +++ b/webrtc/typedefs.h @@ -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