public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix target cflags for gcc cross builds
@ 2016-01-14 21:04 Peter Seebach
  2016-01-14 21:04 ` [PATCH 1/1] Use TUNE_CCARGS for target compilation Peter Seebach
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Seebach @ 2016-01-14 21:04 UTC (permalink / raw)
  To: openembedded-core

In some cases, CFLAGS_FOR_TARGET may need to have tune-specific compiler
flags, particularly if you're trying to build a multilib compiler which
won't automatically pick the right ABI, bit size, etc. by default if
invoked without them. After some experimentation and thought, I concluded
that cross gcc should use these in CFLAGS_FOR_TARGET, but crosssdk shouldn't.
This appears to work, at least for the reasonably obvious cases.

We did this back in November, and I thought I submitted it then, but
apparently the email never made it out. Rebased against current master.

The following changes since commit 541315d6c56df6448f64c262f99d43d5c1e9400b:

  update_font_cache: only scan system font directories (2016-01-11 23:23:18 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib seebs/gcc_target_args
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/gcc_target_args

Peter Seebach (1):
  Use TUNE_CCARGS for target compilation

 meta/classes/crosssdk.bbclass                      | 4 ++++
 meta/recipes-devtools/gcc/gcc-configure-common.inc | 2 +-
 meta/recipes-devtools/gcc/gcc-cross.inc            | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.3.1



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

end of thread, other threads:[~2016-01-14 21:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 21:04 [PATCH 0/1] Fix target cflags for gcc cross builds Peter Seebach
2016-01-14 21:04 ` [PATCH 1/1] Use TUNE_CCARGS for target compilation Peter Seebach
2016-01-14 21:24   ` Andre McCurdy
2016-01-14 21:27     ` Peter Seebach
2016-01-14 21:29     ` Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox