commit 285280868b446cfeabceb4291b97f59a87d92bf2 parent 56350f77c34ce1401d35561a51efdf1897c65ae7 Author: Peter Wagner <tripolar@gmx.at> Date: Tue, 1 Jul 2014 19:59:02 +0200 Merge branch 'master' of github-openwrt:openwrt/packages Diffstat:
| M | libs/protobuf/Makefile | | | 1 | + |
| A | libs/protobuf/patches/001-mipseb-compile.patch | | | 11 | +++++++++++ |
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/libs/protobuf/Makefile b/libs/protobuf/Makefile @@ -16,6 +16,7 @@ PKG_SOURCE_URL:=http://protobuf.googlecode.com/files PKG_MD5SUM:=a72001a9067a4c2c4e0e836d0f92ece4 PKG_BUILD_DEPENDS:=protobuf/host +PKG_USE_MIPS16:=0 PKG_INSTALL:=1 diff --git a/libs/protobuf/patches/001-mipseb-compile.patch b/libs/protobuf/patches/001-mipseb-compile.patch @@ -0,0 +1,11 @@ +--- a/src/google/protobuf/stubs/platform_macros.h ++++ b/src/google/protobuf/stubs/platform_macros.h +@@ -49,7 +49,7 @@ + #elif defined(__ARMEL__) + #define GOOGLE_PROTOBUF_ARCH_ARM 1 + #define GOOGLE_PROTOBUF_ARCH_32_BIT 1 +-#elif defined(__MIPSEL__) ++#elif defined(__MIPSEL__) || defined(__MIPSEB__) + #define GOOGLE_PROTOBUF_ARCH_MIPS 1 + #define GOOGLE_PROTOBUF_ARCH_32_BIT 1 + #elif defined(__pnacl__)