make/library.mk: Trigger copying the headers on configheader changes
Before aosp/3527960, vm-x86_64-test_os built arm64 targets. Unfortunately, the
change does not trigger a full rebuild but causes the incremental build to fail
with:
external/trusty/musl/src/internal/floatscan.c:150:17: error: magnitude of floating-point constant too large for type 'long double'; maximum is 1.18973149535723176502E+4932 [-Werror,-Wliteral-range]
150 | return sign * LDBL_MAX * LDBL_MAX;
| ^
... build-root/build-vm-x86_64-test_os-userdebug/sdk/sysroot//usr/include/bits/float.h:5:18: note: expanded from macro 'LDBL_MAX'
5 | #define LDBL_MAX 1.18973149535723176508575932662800702e+4932L
| ^
This change introduces a dependency on copied headers to configheader
to detect build configuration changes.
Bug: 399565091
Test: build.py vm-x86_64-test_os-userdebug
Change-Id: If2b55a9774bb84285361b6dc319295b21120bcda
1 file changed