[sr-dev] git:master:2718efdd: Makefile.defs: removed option -minline-all-stringops for compiler on mips

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 9 09:37:19 CET 2015


Module: kamailio
Branch: master
Commit: 2718efddb8e87a269af012d8661d57887e7c4d86
URL: https://github.com/kamailio/kamailio/commit/2718efddb8e87a269af012d8661d57887e7c4d86

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-11-09T09:36:12+01:00

Makefile.defs: removed option -minline-all-stringops for compiler on mips

- not supported, reported by Victor Seva, FS#392

---

Modified: Makefile.defs

---

Diff:  https://github.com/kamailio/kamailio/commit/2718efddb8e87a269af012d8661d57887e7c4d86.diff
Patch: https://github.com/kamailio/kamailio/commit/2718efddb8e87a269af012d8661d57887e7c4d86.patch

---

diff --git a/Makefile.defs b/Makefile.defs
index ba2ae19..9fa586f 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -1263,13 +1263,15 @@ ifeq		($(CC_NAME), gcc)
 				CFLAGS=$(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+=-march=r3000 -minline-all-stringops \
+					CFLAGS+=-march=r3000 \
 							-ftree-vectorize -fno-strict-overflow
+			# not supported on mips: -minline-all-stringops
 else
 			#if gcc 4.0+
 ifeq			($(CC_SHORTVER), 4.x)
-					CFLAGS+=-march=r3000 -minline-all-stringops \
+					CFLAGS+=-march=r3000 \
 							-ftree-vectorize
+			# not supported on mips: -minline-all-stringops
 else
 			#if gcc 3.4+
 ifeq			($(CC_SHORTVER), 3.4)




More information about the sr-dev mailing list