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

Bug#939453: sbcl: Please pass host architecture explicitly when calling make.sh in debian/rules



Source: sbcl
Version: 2:1.5.6-1
Severity: normal
User: debian-powerpc@lists.debian.org
Usertags: ppc64

Hello!

I was just trying to build sbcl for ppc64 on a powerpc Debian with a ppc64
chroot and noticed that the build set the compiler architecture to "ppc"
during build.

In order to make sure the proper host architecture is used during build,
the debian/rules file should pass the proper host architecture during
build to the make.sh script using the --arch option.

The value can be read from DEB_HOST_ARCH, see for example the debian/rules
file of the GHC package [1].

Adrian

> [1] https://salsa.debian.org/haskell-team/DHG_packages/blob/master/p/ghc/debian/rules#L21

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: