about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'elf/Makefile')
-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