public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] config.mk: use different host compiler for OS X 10.6
Date: Sat, 22 May 2010 01:14:36 -0400	[thread overview]
Message-ID: <201005220114.37832.vapier@gentoo.org> (raw)
In-Reply-To: <1274477594-63398-1-git-send-email-andreas.devel@googlemail.com>

On Friday 21 May 2010 17:33:14 Andreas Bie?mann wrote:
>  ifeq ($(HOSTOS),darwin)
> +# get major and minor product version (e.g. 10.6 for Snow Leopard)
> +DARWIN_VERSION	= $(shell sw_vers -productVersion | cut -f 1,2 -d '.')
> +
> +# Snow Leopards build environmenthas no longer restrictions as described
> above +# TODO find a solution to match versions greater than 10.6
> +ifeq ($(DARWIN_VERSION),10.6)
> +HOSTCC		= gcc
> +else
>  HOSTCC		= cc
>  HOSTCFLAGS	+= -traditional-cpp
>  HOSTLDFLAGS	+= -multiply_defined suppress
> +endif

presumably this is going to remain true with 10.7+, so it'd probably make more 
sense to invert the check ... have the old code run with <=10.5
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100522/806954f1/attachment.pgp 

  reply	other threads:[~2010-05-22  5:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21 21:33 [U-Boot] [PATCH] config.mk: use different host compiler for OS X 10.6 Andreas Bießmann
2010-05-22  5:14 ` Mike Frysinger [this message]
2010-05-22 11:19   ` Andreas Bießmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201005220114.37832.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox