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

xiaoxiang 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 82677145ed cmake(bugfix):Fixed the issue that the host toolchain 
version cannot be specified
82677145ed is described below

commit 82677145edf86641e1987ed4c075c4177001d43c
Author: xuxin19 <[email protected]>
AuthorDate: Mon Oct 21 16:25:31 2024 +0800

    cmake(bugfix):Fixed the issue that the host toolchain version cannot be 
specified
    
    SIM arch does not need to execute find_program
    
    Signed-off-by: xuxin19 <[email protected]>
---
 arch/sim/src/cmake/Toolchain.cmake | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/sim/src/cmake/Toolchain.cmake 
b/arch/sim/src/cmake/Toolchain.cmake
index a480c004e7..76be81168d 100644
--- a/arch/sim/src/cmake/Toolchain.cmake
+++ b/arch/sim/src/cmake/Toolchain.cmake
@@ -27,11 +27,6 @@ if(WIN32)
   return()
 endif()
 
-find_program(CMAKE_C_COMPILER gcc)
-find_program(CMAKE_CXX_COMPILER g++)
-
-set(CMAKE_PREPROCESSOR cc -E -P -x c)
-
 # NuttX is sometimes built as a native target. In that case, the __NuttX__ 
macro
 # is predefined by the compiler. https://github.com/NuttX/buildroot
 #

Reply via email to