[sr-dev] git:master:ccc0eb6d: Makefile.defs: remove over-specific -fmpu definition, not needed according to my tests

Henning Westerholt hw at skalatan.de
Wed Sep 25 19:12:48 CEST 2019


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

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-09-25T17:04:05+02:00

Makefile.defs: remove over-specific -fmpu definition, not needed according to my tests

---

Modified: src/Makefile.defs

---

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

---

diff --git a/src/Makefile.defs b/src/Makefile.defs
index dad6b7a36b..e5fa7fdda1 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -1340,9 +1340,8 @@ ifeq	($(ARCH), arm7)
 		# if gcc
 ifeq		($(CC_NAME), gcc)
 				C_DEFS+=-DCC_GCC_LIKE_ASM
-				#common stuff, use armv7-a similar to debian
-				#build flags from https://wiki.debian.org/ArmHardFloatPort
-				CFLAGS=-march=armv7-a -mfpu=vfpv3-d16 $(CC_OPT) -funroll-loops -fsigned-char \
+				#common stuff, use armv7-a as lowest common architecture
+				CFLAGS=-march=armv7-a $(CC_OPT) -funroll-loops -fsigned-char \
 						$(PROFILE)
 			#if gcc 7.0+, 6.0+, 5.0+, 4.5+ or 4.2+
 ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+ 9.0+,$(CC_SHORTVER))))




More information about the sr-dev mailing list