From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::243; helo=mail-wm0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 1BA6C22344357 for ; Fri, 19 Jan 2018 08:16:56 -0800 (PST) Received: by mail-wm0-x243.google.com with SMTP id b21so4647397wme.4 for ; Fri, 19 Jan 2018 08:22:19 -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; bh=DyScjGmVywUzSiu2UZUJnj8oLxaNjh18cjyoCW2e5Sw=; b=QDfBY1F2zEU6NiyD7bHzBvbym/007nsP8lk+EIjC8YqwlBHLNhOArZBhsCKekSeUPy AB6FuyE5Ehcz07m4ePJOgktBE2xAV/TBEbmF2cf+2IV7MmiaTSsgoc0yxVKIaLyN7A7q yn022Jouyo0w/hZY63hZMJg0gp5798sp9QUVM= 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; bh=DyScjGmVywUzSiu2UZUJnj8oLxaNjh18cjyoCW2e5Sw=; b=Jfb2Q0lvY9muXjagu2FkWC5++BxmIjaVVssyzfJ0G68u9y7L3BADJAsPErxfTRnoeK 3ZiwECyAJHJmSD4cgBkyKl78MktufJtPkO4Mqt15ODXN6t16p4ii6xTR7rRt/zx0R+OG 7XNNFTH+ik1INGIoDjp5afGvpaHfZEa6BQyT1WcOQGtdh2jECfZ5Wj7qnaZiikoJnRfp oV3OaZTWivokKMB2o8mL8nAcnQGgbe4UGneu5UtpY7rAhHyPXwuo0i57DwTo/uB2y5EX CHmis68TDEu0tH6MT4P/wNUKspsoMsKLZDy1C9IW/otC600FDrC+k/4KQT8uNk+IzH7B t9yg== X-Gm-Message-State: AKwxyteM8QyfrS1hiOs2tqS6umHo9t62gfc6TXCLSfSkprXhz/vvS4E7 DYHaWzhul9aC5uxANhxdDJSO13HRd9s= X-Google-Smtp-Source: ACJfBot45A5uV66axzQV9JJbuVc4xr2uPKFuXU/GXdN7mSrRDa+WFUT/jmIkLH4Y/EI0gYukrh8TSQ== X-Received: by 10.28.58.208 with SMTP id h199mr4990642wma.79.1516378937604; Fri, 19 Jan 2018 08:22:17 -0800 (PST) Received: from localhost.localdomain ([160.170.62.40]) by smtp.gmail.com with ESMTPSA id n74sm5478708wmi.1.2018.01.19.08.22.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jan 2018 08:22:15 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, liming.gao@intel.com, yonghong.zhu@intel.com, Ard Biesheuvel Date: Fri, 19 Jan 2018 16:22:07 +0000 Message-Id: <20180119162207.13207-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [PATCH] BaseTools/tools_def CLANG35: ignore unknown warning options X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2018 16:16:57 -0000 Ironically, disabling warnings in the OpensslLib library build is causing breakage when using the CLANG35 toolchain to build for ARM: error: unknown warning option '-Werror=maybe-uninitialized'; did you mean '-Werror=uninitialized'? [-Werror,-Wunknown-warning-option] So let's add -Wno-unknown-warning-option to the list of warning to ignore when using Clang 3.5 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- BaseTools/Conf/tools_def.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index d8fde02ea351..6afe5ebe9fe3 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -5595,7 +5595,7 @@ RELEASE_GCC5_AARCH64_DLINK_FLAGS = DEF(GCC5_AARCH64_DLINK_FLAGS) -flto -Os -L$(W DEFINE CLANG35_ARM_TARGET = -target arm-linux-gnueabihf DEFINE CLANG35_AARCH64_TARGET = -target aarch64-linux-gnu -DEFINE CLANG35_WARNING_OVERRIDES = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body +DEFINE CLANG35_WARNING_OVERRIDES = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body -Wno-unknown-warning-option DEFINE CLANG35_ARM_CC_FLAGS = DEF(GCC_ARM_CC_FLAGS) DEF(CLANG35_ARM_TARGET) DEF(CLANG35_WARNING_OVERRIDES) DEFINE CLANG35_AARCH64_CC_FLAGS = DEF(GCC_AARCH64_CC_FLAGS) DEF(CLANG35_AARCH64_TARGET) -mcmodel=small DEF(CLANG35_WARNING_OVERRIDES) -- 2.11.0