cc: remove incorrect arch cflags

arm and host builds both got some extra global cflags from arm64,
remove them.

Change-Id: Ie4dcbb114714f4ae8b45304755978d66e13e889c
diff --git a/cc/arm_device.go b/cc/arm_device.go
index 641f96e..8adbc29 100644
--- a/cc/arm_device.go
+++ b/cc/arm_device.go
@@ -49,9 +49,6 @@
 		"-Wl,--fatal-warnings",
 		"-Wl,--icf=safe",
 		"-Wl,--hash-style=gnu",
-
-		// Disable transitive dependency library symbol resolving.
-		"-Wl,--allow-shlib-undefined",
 	}
 
 	armArmCflags = []string{
diff --git a/cc/x86_linux_host.go b/cc/x86_linux_host.go
index 8eaa099..05e5720 100644
--- a/cc/x86_linux_host.go
+++ b/cc/x86_linux_host.go
@@ -37,14 +37,6 @@
 		"-Wl,-z,noexecstack",
 		"-Wl,-z,relro",
 		"-Wl,-z,now",
-		"-Wl,--build-id=md5",
-		"-Wl,--warn-shared-textrel",
-		"-Wl,--fatal-warnings",
-		"-Wl,-icf=safe",
-		"-Wl,--hash-style=gnu",
-
-		// Disable transitive dependency library symbol resolving.
-		"-Wl,--allow-shlib-undefined",
 	}
 
 	// Extended cflags