MIPS: Remove -U__unix and -U__unix__ from cflags

Leave '__unix' and '__unix__' defined on mips/mips64, like arm.
This is needed to avoid a warning in external/libcxx project.

Test: successful build and boot aosp_mips-eng
Test: successful build and boot aosp_mips64-eng

Change-Id: I8f0e17bdbeffd5078c19aa7506564b8e79a9c945
This commit is contained in:
Goran Jakovljevic
2017-10-18 14:19:46 +02:00
parent fa86d794b0
commit 68a321d92f
2 changed files with 0 additions and 4 deletions

View File

@@ -28,8 +28,6 @@ var (
"-fomit-frame-pointer",
"-fno-strict-aliasing",
"-funswitch-loops",
"-U__unix",
"-U__unix__",
"-Umips",
"-ffunction-sections",
"-fdata-sections",

View File

@@ -28,8 +28,6 @@ var (
"-fomit-frame-pointer",
"-fno-strict-aliasing",
"-funswitch-loops",
"-U__unix",
"-U__unix__",
"-Umips",
"-ffunction-sections",
"-fdata-sections",