glibc/extra-modules.mk

10 lines
382 B
Makefile

# This file is included several times in a row, once
# for each element of $(modules-names). $(extra-modules-left)
# is initialized first to $(modules-names) so that with each
# inclusion, we advance $(module) to the next name.
module := $(firstword $(extra-modules-left))
extra-modules-left := $(filter-out $(module),$(extra-modules-left))
CPPFLAGS-$(module).c += -DNOT_IN_libc