[libcxx-commits] [PATCH] D95875: [SystemZ][ZOS] Prefer -nostdlib++ as opposed to -nodefaultlibs when building c++ libraries

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Oct 17 11:09:25 PDT 2021


mstorsjo added a comment.

In D95875#3068943 <https://reviews.llvm.org/D95875#3068943>, @hvdijk wrote:

> Would there be any objections to reverting this change for libunwind, or do you prefer to fix this some other way?

I would prefer to not revert it. The generally more specific way of disabling things with `-nostdlibc++` is nicer as it doesn’t need to hardcode/guess what other platform specific libs are linked by default, that has to be specified manually.

However, should we try to use `-unwindlib=none` at the same time as testing for `-nostdlibc++`? I think that would take care of this issue, right?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95875/new/

https://reviews.llvm.org/D95875



More information about the libcxx-commits mailing list