about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-23 17:43:42 +0000
committerRoland McGrath <roland@gnu.org>2002-09-23 17:43:42 +0000
commit724d8c3f0e3dd6afb77728ac87727316c4479ab9 (patch)
tree271c781e92152a7a67944629853ef704c7ebce8d /elf
parent2e35d8c8e1c4a2f5b17eb3afa91ce1de7a1ab9e5 (diff)
downloadglibc-724d8c3f0e3dd6afb77728ac87727316c4479ab9.tar.gz
glibc-724d8c3f0e3dd6afb77728ac87727316c4479ab9.tar.xz
glibc-724d8c3f0e3dd6afb77728ac87727316c4479ab9.zip
* elf/Makefile (test-extras): Define this instead of test-srcs.
	* Makerules (all-nonlib): Include $(test-extras) too.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index ddc7a54c07..e452eccb75 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -150,7 +150,8 @@ modules-vis-yes = vismod1 vismod2 vismod3
 modules-nodelete-yes = nodelmod1 nodelmod2 nodelmod3 nodelmod4
 modules-nodlopen-yes = nodlopenmod nodlopenmod2
 extra-objs += $(addsuffix .os,$(strip $(modules-names)))
-test-srcs += $(modules-names)
+# We need this variable to be sure the test modules get the right CPPFLAGS.
+test-extras += $(modules-names)
 
 include ../Rules