summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Aditya Kumar <appujee@google.com> 2024-06-18 21:17:12 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-06-18 21:17:12 +0000
commit25e9e900f16d742b81addf0744e54c38b53f23ab (patch)
tree98bb0bb760de9a8eafcdd1c1fb7d3373b45f1dc3
parent32e35e416ecc8c297ed761bcd1e6cdcc96a76ac6 (diff)
Enable -Wfortify-source
This reverts commit 32e35e416ecc8c297ed761bcd1e6cdcc96a76ac6. Reason for revert: Fixed the failing builds Change-Id: I919c292e4802a795771c499a830381ca4c761e18
-rw-r--r--cc/config/global.go2
1 files changed, 0 insertions, 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{