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

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new d90559f94e [cmake] windows native: fixed FAILED: System.map
d90559f94e is described below

commit d90559f94e85001c9db984436c230ed167bb644d
Author: simbit18 <101105604+simbi...@users.noreply.github.com>
AuthorDate: Fri Dec 13 16:07:10 2024 +0100

    [cmake] windows native: fixed FAILED: System.map
    
    fixed
    
    [1025/1027] Generating System.map
    FAILED: System.map C:/nuttxgit/nuttx/build/System.map
    cmd.exe /C "cd /D C:\nuttxgit\nuttx\build && arm-none-eabi-nm nuttx | grep 
-v '(compiled)|($)|( [aUw] )|(..ng$)|(LASH[RL]DI)' | sort > System.map"
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d541632cd1..2f366ac82d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -751,7 +751,7 @@ endif()
 # Generate system map using the compiler toolchain. Conventionally, the tool
 # which dump symbols are called nm, though, some compiler toolchain may have a
 # different name.
-if(NOT WIN32)
+if(NOT CMAKE_HOST_WIN32)
   add_custom_command(
     OUTPUT System.map
     COMMAND

Reply via email to