Module: kamailio
Branch: master
Commit: b2ff2745b97051625509de0f328e5b1a8f584387
URL:
https://github.com/kamailio/kamailio/commit/b2ff2745b97051625509de0f328e5b1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-11-11T08:59:10+01:00
Makefile.defs: gcc 5.2 option -mfp32 is required by -march=r3000 for mips arch
- reported by Victor Seva, GH#394
---
Modified: Makefile.defs
---
Diff:
https://github.com/kamailio/kamailio/commit/b2ff2745b97051625509de0f328e5b1…
Patch:
https://github.com/kamailio/kamailio/commit/b2ff2745b97051625509de0f328e5b1…
---
diff --git a/Makefile.defs b/Makefile.defs
index 9fa586f..82653fa 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -1263,7 +1263,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