summaryrefslogtreecommitdiff
path: root/config/cc
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-06-17 19:26:23 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-06-17 19:26:23 (GMT)
commit8b8f2c17ba69754b44f3d51dd161735c425de56d (patch)
treeb850ebe6fbc68c3c15605fc278a45f2640d046ac /config/cc
parentc4933a400cc5911014d9cebb0a2a269c0a8747aa (diff)
cc/gcc: add option do disable PCH
In some cases, using Pre-Compiled Headers breaks the build. Ass an option to disable building the PCH, as suggested by: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
Diffstat (limited to 'config/cc')
-rw-r--r--config/cc/gcc.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 062bff2..085c92e 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -268,6 +268,18 @@ config CC_GCC_ENABLE_TARGET_OPTSPACE
This will compile crossgcc's libs with -Os.
+config CC_GCC_DISABLE_PCH
+ bool
+ prompt "Do not build PCH"
+ default n
+ help
+ Say 'y' here to not use Pre-Compiled Headers in the resulting toolchain.
+ at the expense of speed when compiling C++ code.
+
+ For some configurations (most notably canadian?), PCH are broken, and
+ need to be disabled. Please see:
+ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
+
config CC_PKGVERSION
string
prompt "gcc ID string"