mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-29 13:03:37 +01:00
fxsdk: add --no-warn-rwx-segments in linker options
This commit is contained in:
parent
daf1e865b3
commit
aae8b951c0
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ set(CMAKE_C_FLAGS_INIT "")
|
||||||
set(CMAKE_CXX_FLAGS_INIT "")
|
set(CMAKE_CXX_FLAGS_INIT "")
|
||||||
|
|
||||||
add_compile_options(-mb -ffreestanding -nostdlib -Wa,--dsp)
|
add_compile_options(-mb -ffreestanding -nostdlib -Wa,--dsp)
|
||||||
add_link_options(-nostdlib)
|
add_link_options(-nostdlib -Wl,--no-warn-rwx-segments)
|
||||||
link_libraries(-lgcc)
|
link_libraries(-lgcc)
|
||||||
add_compile_definitions(TARGET_FX9860G)
|
add_compile_definitions(TARGET_FX9860G)
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ set(CMAKE_C_FLAGS_INIT "")
|
||||||
set(CMAKE_CXX_FLAGS_INIT "")
|
set(CMAKE_CXX_FLAGS_INIT "")
|
||||||
|
|
||||||
add_compile_options(-m4-nofpu -mb -ffreestanding -nostdlib -Wa,--dsp)
|
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)
|
link_libraries(-lgcc)
|
||||||
add_compile_definitions(TARGET_FXCG50)
|
add_compile_definitions(TARGET_FXCG50)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue