mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 10:43:34 +08:00
403e0597cd
2002-04-08 Ulrich Drepper <drepper@redhat.com> * cppflags-iterator.mk (cpp-srcs-left): Define NOT_IN_libc instead of NOT_IN_LIBC. * include/libintl.h: Test for NOT_IN_libc not NOT_IN_LIBC. * include/stdlib.h: Likewise. 2002-04-08 Jakub Jelinek <jakub@redhat.com> * elf/Makefile (CFLAGS-.os): Define NOT_IN_libc and IS_IN_rtld instead of _RTLD_LOCAL. * elf/dl-dst.h: Use IS_IN_rtld instead of _RTLD_LOCAL. * include/unistd.h: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * stdio-common/_itoa.h (_itoa_word): Only use internal digit arrays if in libc or ld.so. * include/stdlib.h: For libc itself replace MB_CUR_MAX definition with one accessing the locale data structures directly. * stdio-common/printf-prs.c: Include localeinfo.h for new MB_CUR_MAX definition.
8 lines
273 B
Makefile
8 lines
273 B
Makefile
# 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 -DIS_IN_$(lib)
|