diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-12-07 15:39:13 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-12-08 18:49:53 +0000 |
commit | e49d021e574c3ee8e443bcc84d1fb7dfb4c87c42 (patch) | |
tree | 7d7bea7b004ff3e7b93632fa1308d2ea56407ef2 /hw/usb/host-linux.c | |
parent | 24c35a504e8b09e697d0268bbefb2a329b901611 (diff) |
configure: Default to 'cc', not 'gcc'
Default to 'cc' as our compiler, rather than 'gcc'. We used to have
to insist on gcc when we still kept the CPU env in a fixed global
register, but this is no longer necessary and we will now compile OK
on clang as well as gcc. Using 'cc' should generally result in us
using the most standard and maintained system compiler for the
platform. (For instance on newer MacOS X 'gcc' exists but is an
elderly compiler provided mostly for legacy reasons, and 'cc'
(which is clang) is definitely the better choice.) On Linux there
will generally be no user-visible change since cc will be gcc.
This changeover necessitates a slight reworking of how we set the
'cc' variable, because GNU cross toolchains generally provide a
'${cross_prefix}gcc' but not a '${cross_prefix}cc'.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/usb/host-linux.c')
0 files changed, 0 insertions, 0 deletions