Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/1] Fix redundant usage of -mcpu and -march/-mtune
@ 2014-05-13 13:58 Karoly Kasza
  2014-05-13 13:58 ` [Buildroot] [PATCH 1/1] " Karoly Kasza
  2014-05-13 14:04 ` [Buildroot] [PATCH 0/1] " Thomas Petazzoni
  0 siblings, 2 replies; 11+ messages in thread
From: Karoly Kasza @ 2014-05-13 13:58 UTC (permalink / raw)
  To: buildroot

Hi,

I've been using the Linaro external toolchain in the latest GIT to generate ARM
code. I've found that when using this external compiler, Buildroot
compulsorily specifies the -mcpu and -march switches to GCC, which is redundant
(-march and -mtune can be concluded from -mcpu, see
http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html )
While most of the time this only generates a warning, mmc-utils can not be
compiled this way and probably other packages suffer from this as well.

I recommend altering toolchain/toolchain-external/toolchain-external.mk,
so it won't supply redundant GCC switches.

Regards,
Karoly

Karoly Kasza (1):
  Fix redundant usage of -mcpu and -march/-mtune

 toolchain/toolchain-external/toolchain-external.mk |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2014-11-01 21:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13 13:58 [Buildroot] [PATCH 0/1] Fix redundant usage of -mcpu and -march/-mtune Karoly Kasza
2014-05-13 13:58 ` [Buildroot] [PATCH 1/1] " Karoly Kasza
2014-11-01 21:22   ` Thomas Petazzoni
2014-11-01 21:24     ` Károly Kasza
2014-05-13 14:04 ` [Buildroot] [PATCH 0/1] " Thomas Petazzoni
2014-05-13 14:33   ` Károly Kasza
2014-05-13 20:22     ` Thomas Petazzoni
2014-05-14  7:55       ` Károly Kasza
2014-05-14  7:59         ` Thomas Petazzoni
2014-05-14 12:33           ` Károly Kasza
2014-05-27 15:40           ` Károly Kasza

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