From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::444; helo=mail-wr1-x444.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D404A2118C503 for ; Tue, 6 Nov 2018 09:58:59 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id r10-v6so14563179wrv.6 for ; Tue, 06 Nov 2018 09:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KbmYC/RVSxTrYzhnrAiaF10+p4qCXiX2RiK2HL376G4=; b=gZTTsiZc+hMIAygbNUrlaeKne+b87K1SCqUOvCvUZuMF770xJtVpqok8eI6BE5LYN4 h/rTgBMbTLEqSTfj4dh869SVpw0EjO+rqmWj5PYlzkgmS1Gs6y8jYraEFcyDzRMDYU9h d9roJBXd4weeShMOWjya0ur2RxA8d4/pt0S1A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KbmYC/RVSxTrYzhnrAiaF10+p4qCXiX2RiK2HL376G4=; b=srnKw4UnXiAJkc+7bk9dUs0dniDLcJ1tvAaNwUVF70qOiMlsGSoVoH9GE3OQQhzdwq voNHYeoFnrLpt2rOf1FaOva2PKkKILNBAoM25RdZc2ySaHiUiu4JNCGhlzy8IAI7G6xA qjxqJcOweM3/AhuPEBt11R2aLjaNB/DNfpRSV8XtPZp0yYMrcIZf+ETIggVHJkxAwS6A wUw/FpzPYwuACYEaqLZLlQ/dsRBr2zOyQPoq3bi0kA8PmzO6s/EFyX1ZmbcnyNhz1raR xeKH3cU63kitFLt1SFx7nPjLM8kpOxr/gxWOq2ekxH4HsdPkHr+EyopL+U9Qxd6FHOLE nRzg== X-Gm-Message-State: AGRZ1gLS6fpQHKmNoXSQjG5P5fcro28Ag146utXReFVQMJV5TV50Whyv V6CzwySmeBtzU+VG4kluOFaiWMEduVg= X-Google-Smtp-Source: AJdET5czJZMmUeYpFoOzDJKOHTQYkCd4J/t87caAHf6kybob6NpvOlyC9DftwBLURWBpW5ZQCDqO0Q== X-Received: by 2002:adf:fb4b:: with SMTP id c11-v6mr23687279wrs.117.1541527138224; Tue, 06 Nov 2018 09:58:58 -0800 (PST) Received: from localhost.localdomain (laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr. [92.154.90.120]) by smtp.gmail.com with ESMTPSA id 134-v6sm2971522wmp.6.2018.11.06.09.58.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:58:57 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: maciej.rabeda@intel.com, michael.d.kinney@intel.com, eric.jin@intel.com, leif.lindholm@linaro.org, Ard Biesheuvel Date: Tue, 6 Nov 2018 18:58:21 +0100 Message-Id: <20181106175833.26964-8-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181106175833.26964-1-ard.biesheuvel@linaro.org> References: <20181106175833.26964-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [PATCH edk2-staging 07/19] IntelUndiPkg/GigUndiDxe: create GCC alternatives for MSFT build options X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 17:59:00 -0000 Content-Transfer-Encoding: 8bit Prefix the existing MSFT only build option overrides with MSFT: and create the GCC: counterparts so we can build this code with GCC as well. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- IntelUndiPkg/GigUndiDxe/GigUndiDxe.inf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/IntelUndiPkg/GigUndiDxe/GigUndiDxe.inf b/IntelUndiPkg/GigUndiDxe/GigUndiDxe.inf index 6c195872c00f..19dae9a0987a 100644 --- a/IntelUndiPkg/GigUndiDxe/GigUndiDxe.inf +++ b/IntelUndiPkg/GigUndiDxe/GigUndiDxe.inf @@ -41,20 +41,20 @@ ENTRY_POINT = InitializeGigUNDIDriver UNLOAD_IMAGE = GigUndiUnload [BuildOptions.common] - -*_*_*_CC_FLAGS = /FAcs /D MDEPKG_NDEBUG + MSFT:*_*_*_CC_FLAGS = /FAcs /D MDEPKG_NDEBUG + GCC:RELEASE_*_*_CC_FLAGS = -D MDEPKG_NDEBUG [BuildOptions.X64] - -*_*_*_CC_FLAGS = /D EFIX64 + MSFT:*_*_*_CC_FLAGS = /D EFIX64 + GCC:*_*_*_CC_FLAGS = -D EFIX64 [BuildOptions.IPF] - -*_*_*_CC_FLAGS = /D EFI64 + MSFT:*_*_*_CC_FLAGS = /D EFI64 + GCC:*_*_*_CC_FLAGS = -D EFI64 [BuildOptions.IA32] - -*_*_*_CC_FLAGS = /D EFI32 + MSFT:*_*_*_CC_FLAGS = /D EFI32 + GCC:*_*_*_CC_FLAGS = -D EFI32 [sources.common] InventoryStrings.uni -- 2.19.1