aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elf/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 2716cfbec3..2579234b26 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -483,11 +483,15 @@ tests += \
valgrind-test \
# tests
tests-cxx = \
- tst-dlopen-nodelete-reloc \
tst-nodelete \
tst-unique3 \
tst-unique4 \
# tests-cxx
+ifeq (yes,$(config-gnu-unique-object))
+tests-cxx += \
+ tst-dlopen-nodelete-reloc \
+ # tests-cxx
+endif
tests += $(if $(CXX),$(tests-cxx))
@@ -952,6 +956,15 @@ modules-names += \
# modules-names
modules-names-cxx = \
+ tst-nodelete-rtldmod \
+ tst-nodelete-uniquemod \
+ tst-nodelete-zmod \
+ tst-unique3lib \
+ tst-unique3lib2 \
+ tst-unique4lib \
+ # modules-names-cxx
+ifeq (yes,$(config-gnu-unique-object))
+modules-names-cxx += \
tst-dlopen-nodelete-reloc-mod1 \
tst-dlopen-nodelete-reloc-mod2 \
tst-dlopen-nodelete-reloc-mod3 \
@@ -961,21 +974,8 @@ modules-names-cxx = \
tst-dlopen-nodelete-reloc-mod7 \
tst-dlopen-nodelete-reloc-mod8 \
tst-dlopen-nodelete-reloc-mod9 \
- tst-dlopen-nodelete-reloc-mod10 \
- tst-dlopen-nodelete-reloc-mod11 \
- tst-dlopen-nodelete-reloc-mod12 \
- tst-dlopen-nodelete-reloc-mod13 \
- tst-dlopen-nodelete-reloc-mod14 \
- tst-dlopen-nodelete-reloc-mod15 \
- tst-dlopen-nodelete-reloc-mod16 \
- tst-dlopen-nodelete-reloc-mod17 \
- tst-nodelete-rtldmod \
- tst-nodelete-uniquemod \
- tst-nodelete-zmod \
- tst-unique3lib \
- tst-unique3lib2 \
- tst-unique4lib \
# modules-names-cxx
+endif
modules-names += \
$(if $(CXX),$(modules-names-cxx)) \