public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: Pass compile flags to libitm/ subdirectory (and in general)
@ 2020-04-10 19:12 Maxim Blinov
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Blinov @ 2020-04-10 19:12 UTC (permalink / raw)
  To: gcc-help

Nevermind, I figured it out. Just pass the flags in CFLAGS_FOR_TARGET
and CXXFLAGS_FOR_TARGET during configure stage.

Maxim

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

* Pass compile flags to libitm/ subdirectory (and in general)
@ 2020-04-10 18:55 Maxim Blinov
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Blinov @ 2020-04-10 18:55 UTC (permalink / raw)
  To: gcc-help

Hi all,

Is it possible to pass compilation flags to subdirectories of GCC,
e.g. to libitm/?

I'd like to pass CFLAGS="-Wno-error" CXXFLAGS="-Wno-error" to work on
some stuff (among possibly others in the future), but when I try to

$ /src/gcc/.configure CFLAGS="-Wno-error", CXXFLAGS="-Wno-error"
--prefix=foo --target=bar

and then do

$ CFLAGS="-Wno-error" CXXFLAGS="-Wno-error" make

only the core GCC code honours those flags. How can I get libitm/ to
honour them too?

Maxim

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

end of thread, other threads:[~2020-04-10 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-10 19:12 Pass compile flags to libitm/ subdirectory (and in general) Maxim Blinov
  -- strict thread matches above, loose matches on Subject: below --
2020-04-10 18:55 Maxim Blinov

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