Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c691644 authored by George Burgess IV's avatar George Burgess IV
Browse files

soong: -Werror=fortify-source

Recently, we started deferring to clang for some of its built-in
FORTIFY-like warnings. We should always treat these as errors, since
they represent potential security vulnerabilities.

Bug: 131861088
Test: m. Also made a compilation in Bionic fail; verified the build
  command had -Werror=fortify-source in it.

Change-Id: I2715ea411ef067f801534dab4d306fef5431f290
parent 4e812550
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@ var (
	noOverrideGlobalCflags = []string{
		"-Werror=int-to-pointer-cast",
		"-Werror=pointer-to-int-cast",
		"-Werror=fortify-source",
	}

	IllegalFlags = []string{