[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[committed] Fix dwz-for-test sources



Hi,

Currently dwz-for-test is compiled using $(OBJECTS) instead of the
corresponding sources files.

Fix this by fixing the patsubst function call.

Committed to trunk.

Thanks,
- Tom

Fix dwz-for-test sources

2019-03-18  Tom de Vries  <tdevries@suse.de>

	* Makefile (dwz-for-test): Fix sources.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d2aa386..0f47a98 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ py-section-script:
 	$(CC) $(TEST_SRC)/py-section-script.s -o $@ -g || touch $@
 
 dwz-for-test:
-	$(CC) $(patsubst \.o$,.c,$(OBJECTS)) -O2 -g -w -lelf -o $@ -W \
+	$(CC) $(patsubst %.o,%.c,$(OBJECTS)) -O2 -g -w -lelf -o $@ -W \
 	  -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"for-test"'
 
 # On some systems we need to set and export DEJAGNU to suppress