From ca5e3eb407be5bd70b3cedd9a6aeb138245ec255 Mon Sep 17 00:00:00 2001 From: Aditya Kumar Date: Wed, 29 May 2024 20:40:54 +0000 Subject: [PATCH] Enable -Wfortify-source This reverts commit 885f2eec3c96b6e0ffe06229032366c3b8e862e5. Reason for revert: Fixed the error reported in post-submit Change-Id: I152494403e6d6937413d0e5d2637d426c2f54009 --- cc/config/global.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cc/config/global.go b/cc/config/global.go index 62a4765f4..d2faff27d 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -376,8 +376,6 @@ 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{