b5e32c38079abd43cff168233d53219d90b16608
[busybox-power] / debian / patches / 05thumb.patch
1 Allow thumb flag to be passed to make (e.g. -mthumb)
2 By Yauheni Kaliuta <yauheni.kaliuta@nokia.com>
3
4 Ported to BusyBox 1.18.4 by Dennis Groenen <dennis_groenen@hotmail.com> - 2011-04-29  
5 ---
6
7 --- a/Makefile.flags
8 +++ b/Makefile.flags
9 @@ -51,7 +51,7 @@ CFLAGS += $(call cc-option,-fno-builtin-
10  # of branch probabilities (hopefully makes bloatcheck more stable):
11  CFLAGS += $(call cc-option,-fno-guess-branch-probability,)
12  CFLAGS += $(call cc-option,-funsigned-char -static-libgcc,)
13 -CFLAGS += $(call cc-option,-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1,)
14 +CFLAGS += $(call cc-option,-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 $(THUMB),)
15  
16  # FIXME: These warnings are at least partially to be concerned about and should
17  # be fixed..