You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2023/02/21 11:12:33 UTC

[mynewt-nimble] branch master updated: porting/nuttx; Fix error: unrecognized command-line option '-m32'

This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new e0e9629a porting/nuttx; Fix error: unrecognized command-line option '-m32'
e0e9629a is described below

commit e0e9629afedfb17b4589a76edc26bf639f36ec49
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Feb 12 16:58:42 2023 +0800

    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 <xi...@xiaomi.com>
---
 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 f35d428e..94a2a3e1 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 \