diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-20 07:53:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-20 07:53:01 +0100 |
commit | 6c79680171b28dc40d24e0d2fe17117164e97495 (patch) | |
tree | 473cb442c43147b9108e7f0c4fdb887e3b1c1ec0 /toolchain/gcc | |
parent | c847620da9e572763586651df9c3543492fa4498 (diff) |
need to use gcc mode thumb, to compile glibc, CFLAGS is not enough
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 7566d3f20..32710c9bd 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -94,7 +94,11 @@ GCC_CONFOPTS+= --with-arch=armv6 --with-tune=arm1176jzf-s --with-fpu=vf endif ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I),y) -GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard +ifeq ($(ADK_LINUX_ARM_WITH_THUMB),y) +GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard --with-mode=thumb +else +GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9 --with-fpu=neon --with-float=hard --with-mode=arm +endif endif ifneq ($(ADK_TARGET_ABI),) |