]> granicus.if.org Git - clang/commit
[Driver] Disable -faddrsig on Gentoo by default
authorMichal Gorny <mgorny@gentoo.org>
Sun, 23 Dec 2018 15:07:26 +0000 (15:07 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Sun, 23 Dec 2018 15:07:26 +0000 (15:07 +0000)
commit3ece3f2fc6c8f80be85e34c99a419e791bce076a
treeed646f486942040d940336672fbc091f274f03a7
parent40c9a5ffc3ed1bdc20243851b7a0d6eeecf28d5a
[Driver] Disable -faddrsig on Gentoo by default

Gentoo supports combining clang toolchain with GNU binutils, and many
users actually do that.  As -faddrsig is not supported by GNU strip,
this results in a lot of warnings.  Disable it by default and let users
enable it explicitly if they want it; with the intent of reevaluating
when the underlying feature becomes standarized.

See also: https://bugs.gentoo.org/667854

Differential Revision: https://reviews.llvm.org/D56047

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350028 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Clang.cpp
test/Driver/addrsig.c
test/lit.cfg.py