public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Zhenqiang Chen <zhenqiang.chen@linaro.org>
To: yann.morin.1998@anciens.enib.fr
Cc: crossgcc@sourceware.org
Subject: [PATCH] cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core
Date: Tue, 22 Nov 2011 11:32:00 -0000	[thread overview]
Message-ID: <4ECB8838.90005@linaro.org> (raw)

# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1321587170 -28800
# Node ID 034050d2fbe6af17d4e89b9d32ef2f68d8f7c041
# Parent  a6c68712024f406df7d2da4af377f51982615833
cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.

Otherwise, users have to input --disable-libstdcxx-pch option
when building bare-metal CANADIAN C++ compiler.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -289,6 +289,8 @@
      extra_config+=(--disable-libgomp)
      extra_config+=(--disable-libmudflap)

+    [ "${CT_CC_GCC_DISABLE_PCH}" = "y" ] && extra_config+=("--disable-libstdcxx-pch")
+
      CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"

      # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532)

--
For unsubscribe information see http://sourceware.org/lists.html#faq

             reply	other threads:[~2011-11-22 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 11:32 Zhenqiang Chen [this message]
2011-11-22 17:12 ` Yann E. MORIN
2011-11-22 22:42 ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECB8838.90005@linaro.org \
    --to=zhenqiang.chen@linaro.org \
    --cc=crossgcc@sourceware.org \
    --cc=yann.morin.1998@anciens.enib.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).