summaryrefslogtreecommitdiff
path: root/recipes/linux/unslung-kernel/short_loadbytes.patch
blob: f0b514225ca2546b508556581500052118269bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- linux-2.4.22/arch/arm/Makefile~short_loadbytes	2004-09-08 19:34:45.000000000 -0500
+++ linux-2.4.22/arch/arm/Makefile	2004-09-08 19:34:53.000000000 -0500
@@ -74,8 +74,8 @@
   tune-$(CONFIG_CPU_XSCALE)	:=-mtune=strongarm
 endif
 
-CFLAGS_BOOT	:=$(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes -msoft-float -Uarm
-CFLAGS		+=$(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes -msoft-float -Uarm
+CFLAGS_BOOT	:=$(apcs-y) $(arch-y) $(tune-y) $(call check_gcc,-malignment-traps,-mshort-load-bytes) -msoft-float -Uarm
+CFLAGS		+=$(apcs-y) $(arch-y) $(tune-y) $(call check_gcc,-malignment-traps,-mshort-load-bytes) -msoft-float -Uarm
 AFLAGS		+=$(apcs-y) $(arch-y) -msoft-float
 
 ifeq ($(CONFIG_CPU_26),y)