Module: kamailio
Branch: 4.3
Commit: 22e4556c91377ecdab849fe181b6a8397bfada7c
URL:
https://github.com/kamailio/kamailio/commit/22e4556c91377ecdab849fe181b6a83…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-11-11T09:01:16+01:00
Makefile.defs: gcc 5.2 option -mfp32 is required by -march=r3000 for mips arch
- reported by Victor Seva, GH#394
(cherry picked from commit b2ff2745b97051625509de0f328e5b1a8f584387)
---
Modified: Makefile.defs
---
Diff:
https://github.com/kamailio/kamailio/commit/22e4556c91377ecdab849fe181b6a83…
Patch:
https://github.com/kamailio/kamailio/commit/22e4556c91377ecdab849fe181b6a83…
---
diff --git a/Makefile.defs b/Makefile.defs
index 0b809a9..87d89c4 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -1272,7 +1272,7 @@ 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 \
+ CFLAGS+=-mfp32 -march=r3000 \
-ftree-vectorize -fno-strict-overflow
# not supported on mips: -minline-all-stringops
else