libretro makefiles pass flags to the linker that aren't understood by SunOS ld. Add BUILDLINK_TRANSFORMs to remove those flags.