]> granicus.if.org Git - clang/commit
Do not pass -pie flag to linker if -shared specified. This matches
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 17 Jan 2013 20:17:16 +0000 (20:17 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 17 Jan 2013 20:17:16 +0000 (20:17 +0000)
commit17d481fb97b304a58e45a136e3f3e2a2a22b76c8
tree0f138b328c63725164909dfa65a529db882993b7
parent205ecf01939d6e9c903f0e1d51455b2d882d076b
Do not pass -pie flag to linker if -shared specified.  This matches
the gcc driver and makes it possible to add -pie to $CC or similar and
have it apply in the right places.

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