Module: kamailio Branch: 4.2 Commit: 9cd51ffe046e157c419e5e4d3f691037e906436b URL: https://github.com/kamailio/kamailio/commit/9cd51ffe046e157c419e5e4d3f691037...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-07-29T12:41:14+02:00
core: fix mips compilation
Patch from http://anonscm.debian.org/cgit/pkg-voip/kamailio.git/tree/debian/patches/fix... by Dejan Latinovic Dejan.Latinovic@imgtec.com
(cherry picked from commit ed894111f6f15170f87336bfa73ec4e8fce1c7d1) (cherry picked from commit 5a0b8a4550df2de15e40b5d7e664322815a48aea)
---
Modified: Makefile.defs
---
Diff: https://github.com/kamailio/kamailio/commit/9cd51ffe046e157c419e5e4d3f691037... Patch: https://github.com/kamailio/kamailio/commit/9cd51ffe046e157c419e5e4d3f691037...
---
diff --git a/Makefile.defs b/Makefile.defs index a9c69a4..a146fb8 100644 --- a/Makefile.defs +++ b/Makefile.defs @@ -1372,12 +1372,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) @@ -1417,12 +1418,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)