public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] define CROSS = @CROSS in gcc/Makefile.in
@ 2014-09-01 15:26 Olivier Hainque
  2014-09-16  8:50 ` [ping] define CROSS = @CROSS@ " Olivier Hainque
  0 siblings, 1 reply; 5+ messages in thread
From: Olivier Hainque @ 2014-09-01 15:26 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

Hello,

This patch is necessary for proper operation of a piece
of the Ada Makefile fragment which tests the value of $(CROSS).

@ substitutions aren't performed for the language specific
Makefile fragments so using @CROSS directly isn't an option
there.

We have been using this for years and multiple targets in our
local trees. Boostrapped & reg-tested on x86_64-linux.

OK to commit ?

Thanks in advance for your feedback,

Olivier

2014-09-01  Olivier Hainque  <hainque@adacore.com>

	* Makefile.in (CROSS): Define, to @CROSS.



[-- Attachment #2: mk-cross.diff --]
[-- Type: application/octet-stream, Size: 354 bytes --]

--- gcc/Makefile.in
+++ gcc/Makefile.in
@@ -115,6 +115,10 @@ vpath %.texi $(gcc_docdir)/include
 # UNSORTED
 # --------
 
+# Extra flags to pass to indicate cross compilation, which
+# might be used or tested by Make-lang fragments.
+CROSS=@CROSS@
+
 # Variables that exist for you to override.
 # See below for how to change them for certain systems.
 

[-- Attachment #3: Type: text/plain, Size: 2 bytes --]




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

end of thread, other threads:[~2014-10-02  9:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-01 15:26 [patch] define CROSS = @CROSS in gcc/Makefile.in Olivier Hainque
2014-09-16  8:50 ` [ping] define CROSS = @CROSS@ " Olivier Hainque
2014-09-30 10:48   ` [ping*2] " Olivier Hainque
2014-09-30 16:48     ` Jeff Law
2014-10-02  9:47       ` Olivier Hainque

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