This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Is elf proected for cross-compiling?
On Thu, Mar 15, 2001 at 12:08:16PM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
>
> > Is the elf directory proected from cross-compiling? "make check"
> > stopped in elf when I did cross-compiling.
>
> There is no reason for that.
>
I don't think so. Here is a patch.
H.J.
---
2001-03-15 H.J. Lu (hjl@gnu.org)
* elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
cross-compiling.
--- elf/Makefile.cross Sun Mar 4 11:51:12 2001
+++ elf/Makefile Thu Mar 15 12:33:46 2001
@@ -389,9 +389,11 @@ $(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