It seems the devkitARM compiler doesn't support the "-Wl,-search_paths_first" linker option on macOS, which is added by CMake automatically. One solution is editing the template in cpp3ds: https://github.com/cpp3ds/cpp3ds/blob/master/cmake/template_arm/CMakeLists.txt#L34 adding these 3 lines of code https://github.com/kiibohd/controller/blob/master/Lib/CMake/build.cmake#L10 which filter out the option. cpp3ds won't be updated anytime soon, so maybe it's worth it to fork it?
Okay, I contacted Naxann, who already forked cpp3ds, to see if he can merge the patch.
Thanks for your report and the fix ^^
And this is done, can you test ?
That works, thanks :)