From e0e9629afedfb17b4589a76edc26bf639f36ec49 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 12 Feb 2023 16:58:42 +0800 Subject: [PATCH] porting/nuttx; Fix error: unrecognized command-line option '-m32' -m32 is supported by x64 toolchain, not arm-none-eabi-gcc Signed-off-by: Xiang Xiao --- porting/examples/nuttx/Make.defs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/porting/examples/nuttx/Make.defs b/porting/examples/nuttx/Make.defs index f35d428e8..94a2a3e1d 100644 --- a/porting/examples/nuttx/Make.defs +++ b/porting/examples/nuttx/Make.defs @@ -48,8 +48,7 @@ INC = \ INCLUDES := $(addprefix -I, $(INC)) -CFLAGS += \ - $(NIMBLE_CFLAGS) \ +CFLAGS += \ $(INCLUDES) \ $(TINYCRYPT_CFLAGS) \ -DNIMBLE_CFG_CONTROLLER=0 -DOS_CFG_ALIGN_4=4 -DOS_CFG_ALIGNMENT=4 \