[PATCH] Add support for -R driver flag on OpenBSD

Joerg Sonnenberger joerg at britannica.bec.de
Tue Dec 17 13:58:30 PST 2013


On Tue, Dec 17, 2013 at 12:55:40PM -0800, Matthew Dempsky wrote:
> Also, why do you expect Clang to raise an error for
> "-R/usr/local/lib"?  On OpenBSD, I can compile with "-dylib_file blah"
> (a Darwin-specific flag) or even "-andmyaxe" and only get a warning.
> Raising an error for "-R/usr/local/lib" seems inconsistent with the
> handling of other unknown flags.

Because using -R/usr/local/lib has been actively creating harm.
BTDT.

Joerg



More information about the cfe-commits mailing list