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

Joerg Sonnenberger joerg at britannica.bec.de
Mon Dec 16 17:26:38 PST 2013


On Mon, Dec 16, 2013 at 05:06:11PM -0800, Matthew Dempsky wrote:
> On OpenBSD, GCC accepts "-R${dir}" and "-R ${dir}" and passes them to
> the linker.  Attached patch adds similar support to Clang, and
> includes a regress test.  See also bug 18164.

As I said on IRC, I do not agree that this is a bug and consider this a
significant feature. As such I am strongly missing a test that this flag
is correctly rejected on other platforms. Without it, I can only object
to this...

Joerg



More information about the cfe-commits mailing list