]> granicus.if.org Git - clang/commit
[driver] Older versions of ld expect '-L<dir>' not '-L <dir>'. In Xcode4 and
authorChad Rosier <mcrosier@apple.com>
Tue, 30 Oct 2012 21:42:09 +0000 (21:42 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 30 Oct 2012 21:42:09 +0000 (21:42 +0000)
commit89aa2ce6d6de2b9200171bd3ecc97fe917f73d62
tree421a33d34545a82463b0ce75fe2a2cd78bf86d8e
parentc6abe9e0d94d82d566c716a1ab3c0fe6daadfb9c
[driver] Older versions of ld expect '-L<dir>' not '-L <dir>'.  In Xcode4 and
later, '-L <dir>' is allowed, but rewrite these in the driver as '-L<dir>' to
maintain backward compatibility.  The same is true for the -I option.
rdar://12366753

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167054 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/cpath.c
test/Driver/linker-opts.c