Revert "Switch host native tests to -Og"

Revert submission 2695387-host-tests-Og

Reason for revert: Droidmonitor triggered revert due to build breakage in b/353353713. Will be verifying through ABTD before submission.


Reverted changes: /q/submissionid:2695387-host-tests-Og

Change-Id: Ia8c75f9476f52dfce959c424bdf6b483bdf95c9f
diff --git a/cc/test.go b/cc/test.go
index 007932e..a96af31 100644
--- a/cc/test.go
+++ b/cc/test.go
@@ -277,10 +277,7 @@
 
 	flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_HAS_STD_STRING")
 	if ctx.Host() {
-		flags.Local.CFlags = append([]string{"-Og", "-g"}, flags.Local.CFlags...)
-
-		// Turn off unused-result warning since it is not important for tests.
-		flags.Local.CFlags = append(flags.Local.CFlags, "-Wno-error=unused-result")
+		flags.Local.CFlags = append(flags.Local.CFlags, "-O0", "-g")
 
 		switch ctx.Os() {
 		case android.Windows: