public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1 of 1] scripts: set CXXFLAGS at configure gcc
  2014-01-04 19:25 [PATCH 0 of 1] set CXXFLAGS at configure gcc Daniel Dittmann
@ 2014-01-04 19:25 ` Daniel Dittmann
  2014-01-04 19:35   ` cc/gcc: " Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Dittmann @ 2014-01-04 19:25 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

# HG changeset patch
# User Daniel Dittmann <ddittmann@gmx.net>
# Date 1388862978 -3600
# Node ID acc7d11bc77b30f21c5b5403465aafeaa6475efb
# Parent  16028ca35721e9fdce13b486e7e87c3422ce1318
scripts: set CXXFLAGS at configure gcc

Since gcc 4.8 C++ is also used as implementation language (see gcc release notes).


Signed-off-by: "Daniel Dittmann" <ddittmann@gmx.net>

diff -r 16028ca35721 -r acc7d11bc77b scripts/build/cc/gcc.sh
--- a/scripts/build/cc/gcc.sh	Sat Jan 04 01:10:13 2014 +0100
+++ b/scripts/build/cc/gcc.sh	Sat Jan 04 20:16:18 2014 +0100
@@ -374,6 +374,7 @@
     CT_DoExecLog CFG                                \
     CC_FOR_BUILD="${CT_BUILD}-gcc"                  \
     CFLAGS="${cflags}"                              \
+    CXXFLAGS="${cflags}"                            \
     LDFLAGS="${core_LDFLAGS[*]}"                    \
     "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure"  \
         --build=${CT_BUILD}                         \
@@ -825,6 +826,7 @@
     CT_DoExecLog CFG                                \
     CC_FOR_BUILD="${CT_BUILD}-gcc"                  \
     CFLAGS="${cflags}"                              \
+    CXXFLAGS="${cflags}"                            \
     LDFLAGS="${final_LDFLAGS[*]}"                   \
     CFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}"         \
     CXXFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}"       \

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 0 of 1] set CXXFLAGS at configure gcc
@ 2014-01-04 19:25 Daniel Dittmann
  2014-01-04 19:25 ` [PATCH 1 of 1] scripts: " Daniel Dittmann
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Dittmann @ 2014-01-04 19:25 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Since gcc 4.8 C++ is also used.
This patch set CXXFLAGS at configure command so that CFLAGS are also used when compile c++ code.


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* cc/gcc: set CXXFLAGS at configure gcc
  2014-01-04 19:25 ` [PATCH 1 of 1] scripts: " Daniel Dittmann
@ 2014-01-04 19:35   ` Yann E. MORIN
  0 siblings, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-01-04 19:35 UTC (permalink / raw)
  To: Daniel Dittmann; +Cc: crossgcc

Daniel, All,

Your patch:
    cc/gcc: set CXXFLAGS at configure gcc

has been applied as: #c95c1ccf5b77
    http://crosstool-ng.org/hg/crosstool-ng/rev/c95c1ccf5b77

Thank you!

Regards,
Yann E. MORIN.



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-04 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-04 19:25 [PATCH 0 of 1] set CXXFLAGS at configure gcc Daniel Dittmann
2014-01-04 19:25 ` [PATCH 1 of 1] scripts: " Daniel Dittmann
2014-01-04 19:35   ` cc/gcc: " Yann E. MORIN

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).