Page MenuHomePhabricator

Add -Wno-poison-system-directories flag
Needs ReviewPublic

Authored by yunlian on Sep 25 2018, 4:04 PM.

Details

Summary

When using clang as a cross-compiler, we should not use system headers or libraries to do the compilation. This CL creates a new warning flag
-Wpoison-system-directories support to emit warnings if --sysroot is set and headers or libraries from common host system location are used.

Diff Detail

Repository
rC Clang