public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1 of 1] Allow reordered MAKEFLAGS
@ 2013-07-10 11:55 Ray Donnelly
  2013-07-15 21:06 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Ray Donnelly @ 2013-07-10 11:55 UTC (permalink / raw)
  To: Yann E. MORIN, crossgcc

# HG changeset patch
# User Ray Donnelly <mingw.android@gmail.com>
# Date 1373456421 -3600
#      Wed Jul 10 12:40:21 2013 +0100
# Node ID 4972bd801ee6942dd1a27d4ffdd06f15482a7c45
# Parent  2685dfa9de14fbe356ba76cb201bf5c039cf6860
Allow reordered MAKEFLAGS

-R and -r (-Rr) can be reordered to -r and -R (-rR).
This happens with MSYS1/2 gnu-make and mingw32-make,
and triggers "Recursion detected, bailing out..."

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>

diff -r 2685dfa9de14 -r 4972bd801ee6 Makefile.in
--- a/Makefile.in Thu May 23 17:51:15 2013 +0200
+++ b/Makefile.in Wed Jul 10 12:40:21 2013 +0100
@@ -24,9 +24,14 @@
 # Note: dual test, because if -R and -r are given on the command line
 # (who knows?), MAKEFLAGS contains 'Rr' instead of '-Rr', while adding
 # '-Rr' to MAKEFLAGS adds it literaly ( and does not add 'Rr' )
+# Further: quad test because the flags 'rR' and '-rR' can be reordered.
 ifeq ($(filter Rr,$(MAKEFLAGS)),)
 ifeq ($(filter -Rr,$(MAKEFLAGS)),)
+ifeq ($(filter rR,$(MAKEFLAGS)),)
+ifeq ($(filter -rR,$(MAKEFLAGS)),)
 CT_MAKEFLAGS += -Rr
+endif # No -rR
+endif # No rR
 endif # No -Rr
 endif # No Rr

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

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

* Allow reordered MAKEFLAGS
  2013-07-10 11:55 [PATCH 1 of 1] Allow reordered MAKEFLAGS Ray Donnelly
@ 2013-07-15 21:06 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2013-07-15 21:06 UTC (permalink / raw)
  To: Ray Donnelly; +Cc: crossgcc

Ray, All,

Your patch:
    Allow reordered MAKEFLAGS

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

Thank you!

Regards,
Yann E. MORIN.



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

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

end of thread, other threads:[~2013-07-15 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-10 11:55 [PATCH 1 of 1] Allow reordered MAKEFLAGS Ray Donnelly
2013-07-15 21:06 ` 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).