diff options
| author | Florian Weimer <fweimer@redhat.com> | 2025-06-04 17:44:19 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2025-06-04 17:44:19 +0200 |
| commit | 2fca4b624bd3ceb8c756b4145c7e96aa032b2b98 (patch) | |
| tree | a4c752eed705914ee29159fe085661142196545c /elf | |
| parent | 140b20e9716b51659a5223b182dcf07ac62b3f77 (diff) | |
Makefile: Avoid $(objpfx)/ in makefiles
If paths with both $(objpfx)/ and $(objpfx) (which already includes
a trailing slash) appear during the build, this can trigger unexpected
rebuilds, or incorrect concurrent rebuilds.
Diffstat (limited to 'elf')
| -rw-r--r-- | elf/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/elf/Makefile b/elf/Makefile index f8f015b907..362523ff11 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -1377,11 +1377,11 @@ $(objpfx)$(1).generated-makefile: $(objpfx)$(1) endef endif -postclean-generated += $(objpfx)/dso-sort-tests-1.generated-makefile \ - $(objpfx)/dso-sort-tests-2.generated-makefile \ - $(objpfx)/dso-sort-tests-all2.generated-makefile \ - $(objpfx)/dso-sort-tests-all3.generated-makefile \ - $(objpfx)/dso-sort-tests-all4.generated-makefile +postclean-generated += $(objpfx)dso-sort-tests-1.generated-makefile \ + $(objpfx)dso-sort-tests-2.generated-makefile \ + $(objpfx)dso-sort-tests-all2.generated-makefile \ + $(objpfx)dso-sort-tests-all3.generated-makefile \ + $(objpfx)dso-sort-tests-all4.generated-makefile # Generate from each testcase description file $(eval $(call include_dsosort_tests,dso-sort-tests-1.def)) @@ -3049,7 +3049,7 @@ $(objpfx)tst-rtld-list-diagnostics.out: tst-rtld-list-diagnostics.py \ > $@; \ $(evaluate-test) -$(objpfx)tst-rtld-run-static.out: $(objpfx)/ldconfig +$(objpfx)tst-rtld-run-static.out: $(objpfx)ldconfig $(objpfx)tst-dl_find_object.out: \ $(objpfx)tst-dl_find_object-mod1.so $(objpfx)tst-dl_find_object-mod2.so |
