Mattias Nissler 3ef6b33339 toolchain-funcs.eclass: fix tc-cpp-is-true() to work with clang
Clang's preprocessor likes to output a leading newline, which makes
the comparison always fail. GCC generates additional output with certain
flags (e.g. -ggdb3) as well. Hence, switch the test to trigger a
preprocessor error when the condition is not true and examine the exit
code.

Bug: https://bugs.gentoo.org/698912

Signed-off-by: Mattias Nissler <mnissler@chromium.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2019-11-06 22:44:33 +00:00
2019-11-06 09:45:17 +01:00
2019-11-01 14:37:48 -04:00
2019-10-11 17:33:57 +02:00
2019-10-11 17:34:26 +02:00
2019-11-06 11:03:01 +01:00
2019-11-06 11:11:19 +01:00
2019-11-03 22:16:02 -05:00
2019-09-27 13:12:34 -05:00
2019-11-03 10:29:01 +01:00
2019-11-01 15:59:14 +02:00
2019-11-05 15:37:43 +01:00
2019-11-06 17:08:21 -05:00
2019-11-03 21:14:19 +01:00
2019-11-03 15:45:14 +01:00
2019-10-30 14:36:47 +03:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%