fxsdk: add --no-warn-rwx-segments in linker options

This commit is contained in:
Lephenixnoir 2022-08-21 09:40:29 +02:00
parent daf1e865b3
commit aae8b951c0
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ set(CMAKE_C_FLAGS_INIT "")
set(CMAKE_CXX_FLAGS_INIT "")
add_compile_options(-mb -ffreestanding -nostdlib -Wa,--dsp)
add_link_options(-nostdlib)
add_link_options(-nostdlib -Wl,--no-warn-rwx-segments)
link_libraries(-lgcc)
add_compile_definitions(TARGET_FX9860G)

View file

@ -16,7 +16,7 @@ set(CMAKE_C_FLAGS_INIT "")
set(CMAKE_CXX_FLAGS_INIT "")
add_compile_options(-m4-nofpu -mb -ffreestanding -nostdlib -Wa,--dsp)
add_link_options(-nostdlib)
add_link_options(-nostdlib -Wl,--no-warn-rwx-segments)
link_libraries(-lgcc)
add_compile_definitions(TARGET_FXCG50)