Browse Source

Simplify a header check by using the `SYSROOT_*` variables

pull/281/head
John Ericson 3 years ago
committed by Dan Gohman
parent
commit
4cb4b26f8d
  1. 8
      Makefile

8
Makefile

@ -505,10 +505,10 @@ check-symbols: startup_files libc
# #
# Generate a test file that includes all public header files. # Generate a test file that includes all public header files.
# #
cd "$(SYSROOT)" && \ cd "$(SYSROOT_INC)" && \
for header in $$(find include -type f -not -name mman.h -not -name signal.h -not -name times.h -not -name resource.h |grep -v /bits/); do \ for header in $$(find . -type f -not -name mman.h -not -name signal.h -not -name times.h -not -name resource.h |grep -v /bits/); do \
echo '#include <'$$header'>' | sed 's/include\///' ; \ echo '#include <'$$header'>' | sed 's/\.\///' ; \
done |LC_ALL=C sort >share/$(MULTIARCH_TRIPLE)/include-all.c ; \ done |LC_ALL=C sort >$(SYSROOT_SHARE)/include-all.c ; \
cd - >/dev/null cd - >/dev/null
# #

Loading…
Cancel
Save