summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-25 04:57:51 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-25 04:57:51 +0000
commit8c0fe2900498fea31db0d0f3bb2f4f13b8e393ce (patch)
treebef5084d8180b8ed6eda295cc9be66f2dfcb8c8a /elf/Makefile
parent0cdd0c51b6b5b42045bb4983ff4d146fbb374eaa (diff)
downloadglibc-8c0fe2900498fea31db0d0f3bb2f4f13b8e393ce.tar.gz
glibc-8c0fe2900498fea31db0d0f3bb2f4f13b8e393ce.tar.xz
glibc-8c0fe2900498fea31db0d0f3bb2f4f13b8e393ce.zip
(tests): Don't depend on $(objpfx)tst-pathopt.out for cross-compiling. ($(objpfx)tst-pathopt.out):Undo the last change.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index dff36c9371..0668bb3251 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -246,8 +246,10 @@ test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(strip $(modules-names))))
 generated += $(addsuffix .so,$(strip $(modules-names)))
 
 ifeq (yes,$(build-shared))
+ifeq ($(cross-compiling),no)
 tests: $(objpfx)tst-pathopt.out
 endif
+endif
 
 $(objpfx)testobj1.so: $(libdl)
 $(objpfx)testobj1_1.so: $(objpfx)testobj1.so $(libdl)
@@ -389,11 +391,9 @@ $(objpfx)lateglobal: $(libdl)
 $(objpfx)lateglobal.out: $(objpfx)ltglobmod1.so $(objpfx)ltglobmod2.so
 
 $(objpfx)tst-pathopt: $(libdl)
-ifeq ($(cross-compiling),no)
 $(objpfx)tst-pathopt.out: tst-pathopt.sh $(objpfx)tst-pathopt \
 			  $(objpfx)pathoptobj.so
 	$(SHELL) -e $< $(common-objpfx)
-endif
 
 $(objpfx)initfirst: $(libdl)
 $(objpfx)initfirst.out: $(objpfx)firstobj.so