Module: kamailio
Branch: master
Commit: ed894111f6f15170f87336bfa73ec4e8fce1c7d1
URL:
https://github.com/kamailio/kamailio/commit/ed894111f6f15170f87336bfa73ec4e…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-07-20T20:47:26+02:00
core: fix mips compilation
Patch from
http://anonscm.debian.org/cgit/pkg-voip/kamailio.git/tree/debian/patches/fi…
by Dejan Latinovic <Dejan.Latinovic(a)imgtec.com>
---
Modified: Makefile.defs
---
Diff:
https://github.com/kamailio/kamailio/commit/ed894111f6f15170f87336bfa73ec4e…
Patch:
https://github.com/kamailio/kamailio/commit/ed894111f6f15170f87336bfa73ec4e…
---
diff --git a/Makefile.defs b/Makefile.defs
index d663acf..fc3a578 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -1318,12 +1318,13 @@ ifeq ($(CC_NAME), gcc)
CFLAGS= -mips2 $(CC_OPT) -funroll-loops $(PROFILE)
#if gcc 5.0+, 4.5+ or 4.2+
ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+,$(CC_SHORTVER))))
- CFLAGS+=-minline-all-stringops -ftree-vectorize \
- -fno-strict-overflow
+ CFLAGS+=-ftree-vectorize -fno-strict-overflow
+ # not supported on mips: -minline-all-stringops
else
#if gcc 4.0+
ifeq ($(CC_SHORTVER), 4.x)
- CFLAGS+=-minline-all-stringops -ftree-vectorize
+ CFLAGS+=-ftree-vectorize
+ # not supported on mips: -minline-all-stringops
else
#if gcc 3.4+
ifeq ($(CC_SHORTVER), 3.4)
@@ -1363,12 +1364,14 @@ ifeq ($(CC_NAME), gcc)
CFLAGS= -mips64 $(CC_OPT) -funroll-loops $(PROFILE)
#if gcc 5.0+, 4.5+ or 4.2+
ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+,$(CC_SHORTVER))))
- CFLAGS+=-minline-all-stringops -ftree-vectorize \
- -fno-strict-overflow
+ CFLAGS+=-ftree-vectorize -fno-strict-overflow
+ # not supported on mips: -minline-all-stringops
+
else
#if gcc 4.0+
ifeq ($(CC_SHORTVER), 4.x)
- CFLAGS+=-minline-all-stringops -ftree-vectorize
+ CFLAGS+=-ftree-vectorize
+ # not supported on mips: -minline-all-stringops
else
#if gcc 3.4+
ifeq ($(CC_SHORTVER), 3.4)