[sr-dev] git:3.3: Makefile.defs: arm compiler flags update

Daniel-Constantin Mierla miconda at gmail.com
Fri Nov 9 08:51:42 CET 2012


Module: sip-router
Branch: 3.3
Commit: f860ed61a19a1119ff6612fa6b3ebdfa6dc2f0bd
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f860ed61a19a1119ff6612fa6b3ebdfa6dc2f0bd

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Nov  9 08:07:42 2012 +0100

Makefile.defs: arm compiler flags update

- patch by Matthias Klose <doko at debian.org>,
  http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;bug=690388
(cherry picked from commit e916a4680d37f481167770fff27a710088cb5d3d)

---

 Makefile.defs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.defs b/Makefile.defs
index 8957769..a1854a3 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -1186,7 +1186,7 @@ ifeq	($(ARCH), arm)
 ifeq		($(CC_NAME), gcc)
 				C_DEFS+=-DCC_GCC_LIKE_ASM
 				#common stuff
-				CFLAGS=-O9 -funroll-loops -fsigned-char $(PROFILE)
+				CFLAGS=-marm -march=armv5t -O9 -funroll-loops -fsigned-char $(PROFILE)
 			#if gcc 4.5+ or 4.2+
 ifeq (,$(strip $(filter-out 4.2+ 4.5+,$(CC_SHORTVER))))
 					CFLAGS+= -ftree-vectorize -fno-strict-overflow




More information about the sr-dev mailing list