diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-07-12 11:21:14 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 09:30:00 +0100 |
commit | e205bc60050bb7a8d2744e94c5de4f416c0486aa (patch) | |
tree | 7f3293fdb6a7868cf1259a2538af3b316b5ec750 /meta/classes/icecc.bbclass | |
parent | e186617d0af81290a57b8ba50bb36e633ad0dd79 (diff) | |
download | poky-e205bc60050bb7a8d2744e94c5de4f416c0486aa.tar.gz |
classes/icecc: Disable remote pre-processing by default
Unfortunately, GCC has a number of outstanding bugs related to using
-fdirectives-only, which causes a lot of errors when using Icecream.
See:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47254
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88475
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89658
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91152
Until many of these are addressed, it is better to disable remote
preprocessing.
(From OE-Core rev: 762528a66e5a6e3444f9c13c04ecac7f5bc8efd5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/icecc.bbclass')
-rw-r--r-- | meta/classes/icecc.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index edb0e10434..095518115f 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass | |||
@@ -57,7 +57,7 @@ ICECC_ENV_VERSION = "2" | |||
57 | # See: https://github.com/icecc/icecream/issues/190 | 57 | # See: https://github.com/icecc/icecream/issues/190 |
58 | export ICECC_CARET_WORKAROUND ??= "0" | 58 | export ICECC_CARET_WORKAROUND ??= "0" |
59 | 59 | ||
60 | export ICECC_REMOTE_CPP ??= "1" | 60 | export ICECC_REMOTE_CPP ??= "0" |
61 | 61 | ||
62 | ICECC_CFLAGS = "" | 62 | ICECC_CFLAGS = "" |
63 | CFLAGS += "${ICECC_CFLAGS}" | 63 | CFLAGS += "${ICECC_CFLAGS}" |