public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] Add TFLAGS to compilers within gnattools
@ 2022-05-20 16:19 Alexandre Oliva
0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2022-05-20 16:19 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b47a92e3472e866bc9b54149bbdc21782f13d1a8
commit b47a92e3472e866bc9b54149bbdc21782f13d1a8
Author: Alexandre Oliva <oliva@adacore.com>
Date: Fri May 20 13:17:21 2022 -0300
Add TFLAGS to compilers within gnattools
When gnattools uses the just-built compiler, it should also use
TFLAGS.
for gnattools/ChangeLog
* Makefile.in (TOOLS_FLAGS_TO_PASS_NATIVE): Add TFLAGS to CC
and CXX.
(TOOLS_FLAGS_TO_PASS_RE): Likewise.
Diff:
---
gnattools/Makefile.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnattools/Makefile.in b/gnattools/Makefile.in
index e8fc4af0788..27535b81ddb 100644
--- a/gnattools/Makefile.in
+++ b/gnattools/Makefile.in
@@ -77,8 +77,8 @@ CXX_LFLAGS = \
# Variables for gnattools, native
TOOLS_FLAGS_TO_PASS_NATIVE= \
- "CC=../../xgcc -B../../" \
- "CXX=../../xg++ -B../../ $(CXX_LFLAGS)" \
+ "CC=../../xgcc -B../../ $(TFLAGS)" \
+ "CXX=../../xg++ -B../../ $(TFLAGS) $(CXX_LFLAGS)" \
"CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \
"LDFLAGS=$(LDFLAGS)" \
"ADAFLAGS=$(ADAFLAGS)" \
@@ -95,8 +95,8 @@ TOOLS_FLAGS_TO_PASS_NATIVE= \
# Variables for regnattools
TOOLS_FLAGS_TO_PASS_RE= \
- "CC=../../xgcc -B../../" \
- "CXX=../../xg++ -B../../ $(CXX_LFLAGS)" \
+ "CC=../../xgcc -B../../ $(TFLAGS)" \
+ "CXX=../../xg++ -B../../ $(TFLAGS) $(CXX_LFLAGS)" \
"CFLAGS=$(CFLAGS)" \
"LDFLAGS=$(LDFLAGS)" \
"ADAFLAGS=$(ADAFLAGS)" \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-20 16:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20 16:19 [gcc(refs/users/aoliva/heads/testme)] Add TFLAGS to compilers within gnattools Alexandre Oliva
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).