Support <isystem> includes in monorepo

This commit is contained in:
Justine Tunney 2023-11-08 19:06:35 -08:00
parent 5330442d85
commit ea28f93a26
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 298 additions and 51 deletions

View file

@ -100,8 +100,6 @@ EXAMPLES_DIRECTDEPS = \
EXAMPLES_DEPS := \
$(call uniq,$(foreach x,$(EXAMPLES_DIRECTDEPS),$($(x))))
$(EXAMPLES_OBJS): override CFLAGS += -isystem libc/isystem
o/$(MODE)/examples/examples.pkg: \
$(EXAMPLES_OBJS) \
$(foreach x,$(EXAMPLES_DIRECTDEPS),$($(x)_A).pkg)