You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/debian/patches/arm_fix.patch

18 lines
604 B

Description: better use the gcc builtins or libatomics-ops to replace this
home grown atomics stuff.
Origin: other
Bug-Debian: http://bugs.debian.org/690388
Author: Matthias Klose <doko@debian.org>
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -1181,7 +1181,7 @@
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