Browse code

Makefile.defs: arm compiler flags update

- patch by Matthias Klose <doko@debian.org>,
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;bug=690388

Daniel-Constantin Mierla authored on 09/11/2012 07:07:42
Showing 1 changed files
... ...
@@ -1212,7 +1212,7 @@ ifeq	($(ARCH), arm)
1212 1212
 ifeq		($(CC_NAME), gcc)
1213 1213
 				C_DEFS+=-DCC_GCC_LIKE_ASM
1214 1214
 				#common stuff
1215
-				CFLAGS=-O9 -funroll-loops -fsigned-char $(PROFILE)
1215
+				CFLAGS=-marm -march=armv5t -O9 -funroll-loops -fsigned-char $(PROFILE)
1216 1216
 			#if gcc 4.5+ or 4.2+
1217 1217
 ifeq (,$(strip $(filter-out 4.2+ 4.5+,$(CC_SHORTVER))))
1218 1218
 					CFLAGS+= -ftree-vectorize -fno-strict-overflow