Fix Windows build warning (#1228)
This commit is contained in:
parent
ab18927533
commit
7ef7ec8491
@ -96,6 +96,7 @@ if (NOT TARGET pico_standard_link)
|
||||
target_link_options(pico_standard_link INTERFACE "LINKER:--gc-sections")
|
||||
endif()
|
||||
|
||||
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
|
||||
# Ignore warnings about rwx segments introduced in binutils 2.39
|
||||
execute_process(COMMAND ${CMAKE_C_COMPILER} -print-prog-name=ld RESULT_VARIABLE RUN_C_RESULT OUTPUT_VARIABLE FULL_LD_PATH
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
@ -110,5 +111,5 @@ if (NOT TARGET pico_standard_link)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user