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

Brad Smith brad at comstyle.com
Mon Dec 16 17:46:45 PST 2013


On 16/12/13 8:26 PM, Joerg Sonnenberger wrote:
> 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...

Any form of regression is a bug; in addition Clang is supposed to be
compatible with GCC in most areas with regard to command line
parameters.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the cfe-commits mailing list