diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-07-29 21:04:09 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-21 05:34:54 -0700 |
commit | 7b3ce39538c890442a2e46b57bf1911ef7ab8ff8 (patch) | |
tree | af197720cf4a3f54f0f863de3ac348dd8de10414 /catgets | |
parent | 54e4b8f21590d57ec9a2f2ad81a17c57e3b3984f (diff) | |
download | glibc-7b3ce39538c890442a2e46b57bf1911ef7ab8ff8.tar.gz |
Don't compile non-lib modules as lib modules [BZ #21864]
Some programs have more than one source files. These non-lib modules
should not be compiled with -DMODULE_NAME=libc. This patch puts these
non-lib modules in $(others-extras) and adds $(others-extras) to
all-nonlib.
[BZ #21864]
* Makerules (all-nonlib): Add $(others-extras).
* catgets/Makefile (others-extras): New.
* elf/Makefile (others-extras): Likewise.
* nss/Makefile (others-extras): Likewise.
Diffstat (limited to 'catgets')
-rw-r--r-- | catgets/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/catgets/Makefile b/catgets/Makefile index e5f49491fb..39aab67c14 100644 --- a/catgets/Makefile +++ b/catgets/Makefile @@ -38,6 +38,7 @@ tests-special += $(objpfx)tst-catgets-mem.out endif gencat-modules = xmalloc +others-extras = $(gencat-modules) # To find xmalloc.c vpath %.c ../locale/programs |