diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-11-02 19:51:28 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-11-03 09:47:24 +0100 |
commit | c7ce98dc8de9112ec868f0524d6a239d28e0d190 (patch) | |
tree | db3bdee2813655e0cb52c06aa45dabce7c29acc5 | |
parent | 159c92d140eace6f3b96c73728e11a899732e651 (diff) | |
download | barebox-c7ce98dc8de9112ec868f0524d6a239d28e0d190.tar.gz barebox-c7ce98dc8de9112ec868f0524d6a239d28e0d190.tar.xz |
arm: use -marm as default when it's possible
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 4d7040c34c..af2bb120fd 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -1,5 +1,7 @@ -CPPFLAGS += -D__ARM__ -fno-strict-aliasing +CPPFLAGS += -D__ARM__ -fno-strict-aliasing +# Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: +CPPFLAGS +=$(call cc-option,-marm,) # Machine directory name. This list is sorted alphanumerically # by CONFIG_* macro name. |