* [gold patch ob] Fix gold configure to keep CXXFLAGS correctly
@ 2013-01-04 23:59 Cary Coutant
0 siblings, 0 replies; only message in thread
From: Cary Coutant @ 2013-01-04 23:59 UTC (permalink / raw)
To: Ian Lance Taylor, Binutils
> One more thing: the CXXFLAGS I set for the top-level configure doesn't
> propagate down to gold, so I don't get debug info for gold. I hacked
> around this the last time I ran configure, but I forgot what I did :-(
I found the bug in configure.ac. I'm applying this patch as trivial
and obvious...
-cary
2013-01-04 Cary Coutant <ccoutant@google.com>
* configure.ac: Fix typo restoring CXXFLAGS.
* configure: Regenerate.
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/gold/configure.ac,v
retrieving revision 1.81
diff -u -p -r1.81 configure.ac
--- configure.ac 17 Dec 2012 16:56:02 -0000 1.81
+++ configure.ac 4 Jan 2013 23:54:38 -0000
@@ -546,7 +546,7 @@ std::tr1::hash<off_t> h;
],
[gold_cv_hash_off_t=yes],
[gold_cv_hash_off_t=no])
-CXXFLAGS=$CFLAGS_hold])
+CXXFLAGS=$CXXFLAGS_hold])
if test "$gold_cv_hash_off_t" = "yes"; then
AC_DEFINE(HAVE_TR1_HASH_OFF_T, 1,
[Define if std::tr1::hash<off_t> is usable])
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-04 23:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-04 23:59 [gold patch ob] Fix gold configure to keep CXXFLAGS correctly Cary Coutant
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).