From cbf426fa50b60d843b0792618208e850cc6123df Mon Sep 17 00:00:00 2001 From: Aditya Kumar Date: Wed, 3 Jul 2024 00:21:40 +0000 Subject: [PATCH] Enable -Wfortify-source This reverts commit 55748021b0061ca7c5c27679cff7d22171dd163d. Reason for revert: Remaining errors were fixed. Change-Id: I5b947d1e0853d55122673732752ccef7ab2d735e --- 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{