[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

glibc_2.1-3: two tiny debian/rules patches



There are two problems with the debian/rules file in glibc_2.1-3:

1) configure should not depend on patched-stamp, because the sources
   may not yet be unpacked.

2) Since Marcus Brinkmann's build/host architecture policy proposal
   is in progress, the rules file should check DEB_HOST_ARCH, as well
   as the ARCH environment variable:

# New cross-compilation policy may set the DEB_HOST_ARCH variable.
ifdef DEB_HOST_ARCH
ARCH := $(DEB_HOST_ARCH)
else
 # dpkg-cross sets the ARCH environment variable, so use it.
 ifdef ARCH
 ARCH := $(ARCH)
 else
 ARCH := $(BUILD_ARCH)
 endif
endif

Thanks!

-- 
 Gordon Matzigkeit <gord@fig.org> //\ I'm a FIG (http://www.fig.org/)
    Lovers of freedom, unite!     \// I use GNU (http://www.gnu.org/)
[Unfortunately, www.fig.org is broken.  Please stay tuned for details.]


Reply to: