Flag "--no-as-needed" not supported on OSX?

Hi,

running the OpenMP runtime tests on MacOS only the test “ompt/loadtool/tool_available.c” is failing with the error:

ld: unknown option: --no-as-needed

The “–no-as-needed” is added by the run command line for LIT in the test.

Should this be managed in some other way to make it compatible for OSX?

Thanks.

Simone