All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: Bruce Richardson
	<bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH 1/2] mk: overriding CC also overrides HOSTCC
Date: Tue, 24 Jun 2014 11:38:57 +0200	[thread overview]
Message-ID: <3326698.g5GoIMb4bc@xps13> (raw)
In-Reply-To: <1403569384-16758-2-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Hi Bruce,

2014-06-24 01:23, Bruce Richardson:
> when overriding the CC variable on the commandline, the HOSTCC value
> was remaining at "gcc", which caused errors on Free BSD10 when using a gcc
> as e.g. gcc48, without a binary just called "gcc". This change overrides
> HOSTCC when CC is overridden, which means that setting CC=gcc48, will
> now also set HOSTCC=gcc48, allowing the "testhost" app to compile on BSD10

So you are mixing CC and HOSTCC which would break cross-compilation.
Why don't you set HOSTCC on command line?

-- 
Thomas

  parent reply	other threads:[~2014-06-24  9:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-24  0:23 [PATCH 0/2] minor compile fixes for FreeBSD 10 Bruce Richardson
     [not found] ` <1403569384-16758-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-06-24  0:23   ` [PATCH 1/2] mk: overriding CC also overrides HOSTCC Bruce Richardson
     [not found]     ` <1403569384-16758-2-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-06-24  9:38       ` Thomas Monjalon [this message]
2014-06-24 17:22         ` Richardson, Bruce
     [not found]           ` <59AF69C657FD0841A61C55336867B5B02CEE32E4-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-06-25 17:26             ` Richardson, Bruce
2014-06-24  0:23   ` [PATCH 2/2] bsdapp: disable ACL library compilation Bruce Richardson
2014-06-27  0:47   ` [PATCH 0/2] minor compile fixes for FreeBSD 10 Thomas Monjalon

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=3326698.g5GoIMb4bc@xps13 \
    --to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
    --cc=bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.