Move -fno-canonical-system-headers to global cflags
-fno-canonical-system-headers is required for gcc to use relative paths to system headers in deps files, and is stripped out for clang. Move it to the global flags so it affects windows gcc builds. Bug: 68719465 Test: m checkbuild Test: prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-${TARGET_PRODUCT}.ninja -t deps | grep -E '^[[:space:]]*/' | sort | uniq Change-Id: Ia9befd7cf8cfd714241e636fb786c319aecc79fe
Loading
Please register or sign in to comment