diff options
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index e1734a8e3..f38ba051a 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -84,8 +84,12 @@ endif # # architecture specific # -ifneq ($(ADK_TARGET_CPU),) -GCC_CONFOPTS+= --with-cpu=$(ADK_TARGET_CPU) +ifneq ($(ADK_TARGET_GCC_CPU),) +GCC_CONFOPTS+= --with-cpu=$(ADK_TARGET_GCC_CPU) +endif + +ifneq ($(ADK_TARGET_GCC_ARCH),) +GCC_CONFOPTS+= --with-arch=$(ADK_TARGET_GCC_ARCH) endif ifneq ($(ADK_TARGET_FLOAT),) |