[sr-dev] git:4.3:b5d19f21: Makefile.defs: removed option -minline-all-stringops for compiler on mips

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


Module: kamailio
Branch: 4.3
Commit: b5d19f21718b94fb522db5b414d43e7fdb038ebf
URL: https://github.com/kamailio/kamailio/commit/b5d19f21718b94fb522db5b414d43e7fdb038ebf

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

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

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

(cherry picked from commit 2718efddb8e87a269af012d8661d57887e7c4d86)

---

Modified: Makefile.defs

---

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

---

diff --git a/Makefile.defs b/Makefile.defs
index f7bbc16..0b809a9 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -1272,13 +1272,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