Seems to be behaving differently in the Release (Version 15.0 (15A240d)) too.
While it's nice to have the -ld64 workaround, but does look like an unfixed bug or behaviour change.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: