Unsafe flags in local dependencies not affected on build

I use local dependency with unsafe flags for swift compiler, but when I build my library with --verbose flag, I see that no unsafe flags was applied for my dependency.

In my point of view, unsafe flags should be use for building my dependency and not affected main target.
How can I fix that?