Re: [libcxx] r282483 - [cmake] Add linker option "-Wl, -z, defs" in standalone build

2016-09-27 Thread Joerg Sonnenberger via cfe-commits
On Tue, Sep 27, 2016 at 12:15:35PM -, Michal Gorny via cfe-commits wrote: > Author: mgorny > Date: Tue Sep 27 07:15:35 2016 > New Revision: 282483 > > URL: http://llvm.org/viewvc/llvm-project?rev=282483=rev > Log: > [cmake] Add linker option "-Wl,-z,defs" in standalone build > > Add the

[libcxx] r282483 - [cmake] Add linker option "-Wl, -z, defs" in standalone build

2016-09-27 Thread Michal Gorny via cfe-commits
Author: mgorny Date: Tue Sep 27 07:15:35 2016 New Revision: 282483 URL: http://llvm.org/viewvc/llvm-project?rev=282483=rev Log: [cmake] Add linker option "-Wl,-z,defs" in standalone build Add the "-Wl,-z,defs" linker option that is used to prevent underlinking. It is already used by LLVM itself