mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 13:09:38 +00:00 
			
		
		
		
	 90af8531d8
			
		
	
	90af8531d8
	
	
	
		
			
			-nostdlib was removed in9a2af7aand then accidentally added in1c2cc54. The issue manifested itself as a failure to link some symbols from libgcc, even though libgcc should implicitly appear at the end of the linker command line when -nostdlib is not given.
		
			
				
	
	
		
			9 lines
		
	
	
		
			316 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			316 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(CMAKE_SYSTEM_NAME Generic)
 | |
| 
 | |
| set(CMAKE_C_COMPILER xtensa-esp32s2-elf-gcc)
 | |
| set(CMAKE_CXX_COMPILER xtensa-esp32s2-elf-g++)
 | |
| set(CMAKE_ASM_COMPILER xtensa-esp32s2-elf-gcc)
 | |
| 
 | |
| set(CMAKE_C_FLAGS "-mlongcalls" CACHE STRING "C Compiler Base Flags")
 | |
| set(CMAKE_CXX_FLAGS "-mlongcalls" CACHE STRING "C++ Compiler Base Flags")
 |