summary refs log tree commit diff
path: root/cppflags-iterator.mk
blob: 26db7b042eee7e2205c641cd480eaaa15a633c42 (plain) (blame)
1
2
3
4
5
6
7
# This file is included several times in a row, once
# for each element of $(lib)-routines and $(lib)-sysdeps_routines.

cpp-src := $(firstword $(cpp-srcs-left))
cpp-srcs-left := $(filter-out $(cpp-src),$(cpp-srcs-left))

CPPFLAGS-$(cpp-src) += -DNOT_IN_libc=1 -DIS_IN_$(lib)=1