From 7b3ce39538c890442a2e46b57bf1911ef7ab8ff8 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 29 Jul 2017 21:04:09 -0700 Subject: 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. --- catgets/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'catgets/Makefile') diff --git a/catgets/Makefile b/catgets/Makefile index e5f4949..39aab67 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 -- cgit v1.1