Cross compile fix

Andreas Schwab schwab@suse.de
Sat Mar 1 14:15:00 GMT 2003


This fixes an issue with running make check when cross compiling.

Andreas.

2003-03-01  Andreas Schwab  <schwab@suse.de>

	* resolv/Makefile (tests): Don't depend on
	$(objpfx)mtrace-tst-leaks when cross compiling.

--- resolv/Makefile.~1.41.~	2003-02-24 10:04:46.000000000 +0100
+++ resolv/Makefile	2003-03-01 15:13:31.000000000 +0100
@@ -93,6 +93,8 @@ $(objpfx)tst-leaks: $(objpfx)libresolv.s
 tst-leaks-ENV = MALLOC_TRACE=$(objpfx)tst-leaks.mtrace
 $(objpfx)mtrace-tst-leaks: $(objpfx)tst-leaks.out
 	$(common-objpfx)malloc/mtrace $(objpfx)tst-leaks.mtrace > $@
+ifeq (no,$(cross-compiling))
 ifneq (no,$(PERL))
 tests: $(objpfx)mtrace-tst-leaks
 endif
+endif

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-hacker mailing list