Chaging order of options in the link command of a cross-compilation project via CMAKE_CXX_LINK_EXECUTABLE

Solved! See here: Modifying CMAKE_<LANG>_LINK_EXECUTABLE in toolchain file