From 885f2eec3c96b6e0ffe06229032366c3b8e862e5 Mon Sep 17 00:00:00 2001 From: Liana Kazanova Date: Tue, 28 May 2024 23:33:24 +0000 Subject: [PATCH] Revert "Enable -Wfortify-source" This reverts commit 5735ef6777f11e9057dee1552315a72780817488. Reason for revert: DroidMonitor: Potential culprit for b/343287447 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: I1aeeddc251db760e2ab01c734733d351514ec5b0 --- cc/config/global.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cc/config/global.go b/cc/config/global.go index b7ee768a1..290a27dfb 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -370,6 +370,8 @@ var ( "-Wno-unqualified-std-cast-call", "-Wno-array-parameter", "-Wno-gnu-offsetof-extensions", + // TODO: Enable this warning http://b/315245071 + "-Wno-fortify-source", } llvmNextExtraCommonGlobalCflags = []string{