diff options
author | alpine-mips-patches <info@mobile-stream.com> | 2018-12-19 07:44:45 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-12-19 12:39:00 +0000 |
commit | 20f53ef43230040b6bb5a2b1bdf07b8b1e4a94da (patch) | |
tree | d426a16b7fca44b0ca999e6b173ce6d1cefb3e2d /main/kamailio/dont-force-mips-revision.patch | |
parent | 18aa08c946b29cb674fc5103f65672d8475ad18e (diff) | |
download | aports-20f53ef43230040b6bb5a2b1bdf07b8b1e4a94da.tar.bz2 aports-20f53ef43230040b6bb5a2b1bdf07b8b1e4a94da.tar.xz |
main/kamailio: fix build on mips*
Diffstat (limited to 'main/kamailio/dont-force-mips-revision.patch')
-rw-r--r-- | main/kamailio/dont-force-mips-revision.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/kamailio/dont-force-mips-revision.patch b/main/kamailio/dont-force-mips-revision.patch new file mode 100644 index 0000000000..154772304e --- /dev/null +++ b/main/kamailio/dont-force-mips-revision.patch @@ -0,0 +1,30 @@ +--- a/src/Makefile.defs ++++ b/src/Makefile.defs +@@ -321,7 +321,8 @@ + + mips_macros= __mips__ __mips _MIPS_ARCH_MIPS1 + mips2_macros= _MIPS_ISA_MIPS2 _MIPS_ISA_MIPS3 _MIPS_ISA_MIPS4 \ +- _MIPS_ARCH_MIPS2 _MIPS_ARCH_MIPS3 _MIPS_ARCH_MIPS4 ++ _MIPS_ARCH_MIPS2 _MIPS_ARCH_MIPS3 _MIPS_ARCH_MIPS4 \ ++ _MIPS_ISA_MIPS32 + mips64_macros= _MIPS_ISA_MIPS64 _MIPS_ARCH_MIPS64 + + alpha_macros= __alpha__ __alpha _M_ALPHA_ +@@ -1364,7 +1365,7 @@ + ifeq ($(CC_NAME), gcc) + C_DEFS+=-DCC_GCC_LIKE_ASM + #common stuff +- CFLAGS= -mips2 $(CC_OPT) -funroll-loops $(PROFILE) ++ CFLAGS= $(CC_OPT) -funroll-loops $(PROFILE) + #if gcc 8.0+, 7.0+, 6.0+, 5.0+, 4.5+ or 4.2+ + ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+,$(CC_SHORTVER)))) + CFLAGS+=-ftree-vectorize -fno-strict-overflow +@@ -1410,7 +1411,7 @@ + ifeq ($(CC_NAME), gcc) + C_DEFS+=-DCC_GCC_LIKE_ASM + #common stuff +- CFLAGS= -mips64 $(CC_OPT) -funroll-loops $(PROFILE) ++ CFLAGS= $(CC_OPT) -funroll-loops $(PROFILE) + #if gcc 8.0+, 7.0+, 6.0+, 5.0+, 4.5+ or 4.2+ + ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+,$(CC_SHORTVER)))) + CFLAGS+=-ftree-vectorize -fno-strict-overflow |