From patchwork Sun Mar 25 19:03:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 132391 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3028977ljb; Sun, 25 Mar 2018 12:04:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx49eIbELNsYWkS6syIU0AuYiipAMdMqwQPAlIQWgFWL/Mer6X6Sc43o70Tc31YqPzk9l/vR3 X-Received: by 10.55.7.18 with SMTP id 18mr24921195qkh.249.1522004679358; Sun, 25 Mar 2018 12:04:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522004679; cv=none; d=google.com; s=arc-20160816; b=tcOUk/Hbbzv4IkhhXCdoP23iHuOFWcBCAbZlbIeRsRY8pqKCaCaMsRUSD4YFJMRtFG rAFMPvEsE4KYxzqqCzgzwU2OMMgRJS2uTIXbSkuk4aObsx5uchmUw+IdBTsciaKAlanA zUmbyKj+1LC3piOyj/9ueHybOt8c3FZkn/e/EqFck3wNMTz5blBmyfKoffHrE6YK6L3y EAFaQ9kXFr4r6XhprrTtz0o96ckg8tlMtfiEthpJUou96D+eQLwz2ZTdNM9mN3L5FQeN aMKHrfGmQhYvlJeZeb7r5Cv7xFLa9XMOKyCYTC0byeGILvGW7718fZTCysTiqWE9pv6M ix5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:date:to:from :arc-authentication-results; bh=jH9VqjG4AW+OPbnMgr/oyH3ya1h3RLXxs/cSwXU/Rvc=; b=hNbDpoggR1NpWuIegVFaGevFoyaeauYnI4DKK7Ld/N6qJQXboGz1BLCwnN28Fj/6XH qQVWaz6Sg20Jwvq9istfpWxQGrqjhiF1Gn72N3gILsUZuhM6arhp7rDexWwKKBD8E63p oP1Ugyn+Ypd27zqmnoTfB7YcnJ9p+Mp7D8pCQ59Fu9+UJXYGubhZcBCjlUWKarFxLypK QpVyl6DQM9n4ludyp90JOjhnES8pfZwaoygDfGTN214mApGsPnFoWZiJWE4Piuf09Ees O01RaVKC8/T9intelDz+1t+u2HeeapU0Z1GsyKsUz18GC6At4bsCRelw1lBAWLCBLCzJ xxOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id k3si1475792qkb.480.2018.03.25.12.04.39 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 25 Mar 2018 12:04:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:52282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0AwY-0002JQ-U7 for patch@linaro.org; Sun, 25 Mar 2018 15:04:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0AwL-0002J3-8s for qemu-devel@nongnu.org; Sun, 25 Mar 2018 15:04:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0AwI-0002n5-1i for qemu-devel@nongnu.org; Sun, 25 Mar 2018 15:04:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60174) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f0AwH-0002mf-Sz for qemu-devel@nongnu.org; Sun, 25 Mar 2018 15:04:21 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 75C42804EB for ; Sun, 25 Mar 2018 19:04:20 +0000 (UTC) Received: from worklaptop.redhat.com (ovpn-116-93.phx2.redhat.com [10.3.116.93]) by smtp.corp.redhat.com (Postfix) with ESMTP id DB8736090A; Sun, 25 Mar 2018 19:04:19 +0000 (UTC) From: Cole Robinson To: qemu-devel@nongnu.org Date: Sun, 25 Mar 2018 15:03:28 -0400 Message-Id: <489fd750574cf761c1f083eaa7d2306e41035004.1522004432.git.crobinso@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sun, 25 Mar 2018 19:04:20 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH sgabios] Makefile: Add HOSTCC X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Paolo Bonzini Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.16.2 diff --git a/Makefile b/Makefile index 970b0ff..c8cb92b 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,7 @@ ASFLAGS += -DBUILD_USER="$(BUILD_USER)" LDSCRIPT := rom16.ld LDFLAGS := -T $(LDSCRIPT) -nostdlib OBJCOPY := objcopy +HOSTCC := $(CC) ASRCS = sgabios.S @@ -55,7 +56,7 @@ sgabios.elf: .depend $(OBJS) $(LDSCRIPT) csum8 $(LD) $(LDFLAGS) $(OBJS) -o $@ csum8: csum8.c - $(CC) -Wall -O2 -o $@ $< + $(HOSTCC) -Wall -O2 -o $@ $< sgabios.o: buildinfo