public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [committed] Fix dwz-for-test sources
@ 2019-01-01  0:00 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz, jakub

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-18 17:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  0:00 [committed] Fix dwz-for-test sources Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).