diff options
author | Roland McGrath <roland@gnu.org> | 2002-09-23 17:43:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-09-23 17:43:42 +0000 |
commit | 724d8c3f0e3dd6afb77728ac87727316c4479ab9 (patch) | |
tree | 271c781e92152a7a67944629853ef704c7ebce8d | |
parent | 2e35d8c8e1c4a2f5b17eb3afa91ce1de7a1ab9e5 (diff) | |
download | glibc-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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makerules | 2 | ||||
-rw-r--r-- | elf/Makefile | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index e47cf4dfe8..a4fe591c8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-09-23 Roland McGrath <roland@redhat.com> + + * elf/Makefile (test-extras): Define this instead of test-srcs. + * Makerules (all-nonlib): Include $(test-extras) too. + 2002-09-21 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/hppa/abort-instr.h: New file. diff --git a/Makerules b/Makerules index 59fcdaecef..dee6820d43 100644 --- a/Makerules +++ b/Makerules @@ -1040,7 +1040,7 @@ check: tests .PHONY: xcheck xcheck: xtests -all-nonlib = $(strip $(tests) $(xtests) $(test-srcs) $(others)) +all-nonlib = $(strip $(tests) $(xtests) $(test-srcs) $(test-extras) $(others)) ifneq (,$(all-nonlib)) cpp-srcs-left = $(all-nonlib:=.c) lib := tests 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 |