[llvm-bugs] [Bug 26090] New: autoconf passes LDFLAGS to clang-cl causing it to fail
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 8 14:19:33 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26090
Bug ID: 26090
Summary: autoconf passes LDFLAGS to clang-cl causing it to fail
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Driver
Assignee: unassignedclangbugs at nondot.org
Reporter: jmuizelaar at mozilla.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
We're running into a problem where configure fails because clang-cl doesn't
accept the LDFLAGS that are passed to it, while cl.exe does. This makes using
clang-cl with autoconf and custom LDFLAGS very difficult.
Since, we don't want to ignore unknown options to clang-cl one option would be
to add a flag something like '-fignore-options=[all the options to be
ignored]". This gives projects using autoconf a way to hack things into
working.
Alternatively, we could modify the default clang-cl behavior to match cl by
accepting unknown arguments, and add a '-fstrict-option-parsing' argument that
rejects unknown options. This allows clang-cl to be a drop-in replacement for
cl while allowing projects that don't need this the option to opt into sane
behaviour.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160108/ddc93e88/attachment.html>
More information about the llvm-bugs
mailing list