diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2009-11-14 10:42:02 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-04-28 22:16:37 +0200 |
commit | 6d5c57fabd1a97b110b00e59fd52f50ce5bbb1a3 (patch) | |
tree | 7fda8d19a4f6e98348aa11d6315c5d964ebfe438 /elf/Makefile | |
parent | 48df16de98392ca11a1361142b2366ccefa1c81c (diff) | |
download | glibc-6d5c57fabd1a97b110b00e59fd52f50ce5bbb1a3.tar glibc-6d5c57fabd1a97b110b00e59fd52f50ce5bbb1a3.tar.gz glibc-6d5c57fabd1a97b110b00e59fd52f50ce5bbb1a3.tar.bz2 glibc-6d5c57fabd1a97b110b00e59fd52f50ce5bbb1a3.zip |
Don't run tests when cross-compiling
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile index fd766c58c5..32d113ea30 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -156,7 +156,9 @@ tests += tst-audit6 tst-audit7 endif endif endif +ifeq ($(cross-compiling),no) tests: $(objpfx)tst-leaks1-mem $(objpfx)noload-mem +endif tlsmod17a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 tlsmod18a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 tlsmod17a-modules = $(addprefix tst-tlsmod17a, $(tlsmod17a-suffixes)) @@ -1119,7 +1121,9 @@ $(objpfx)tst-relsort1mod2.so: $(libm) $(objpfx)tst-relsort1.out: $(objpfx)tst-relsort1mod1.so \ $(objpfx)tst-relsort1mod2.so +ifeq ($(cross-compiling),no) tests: $(objpfx)tst-unused-dep.out +endif $(objpfx)tst-unused-dep.out: $(objpfx)testobj1.so LD_TRACE_LOADED_OBJECTS=1 \ |