Skip to content

Simple DEB_HOST_ARCH_CPU initialization fix

Rafael David Tinoco requested to merge (removed):master into master

Build environment might not have DEB_HOST_ARCH_CPU variable and, because of that, AES-NI enablement might fail silently, causing issues on amd64 machines since the .install file refers to, now, missing aesni shared library.

From "man1/dpkg-architecture":

  The environment variables set by dpkg-architecture are passed to
  debian/rules as make variables (see make documentation). However, you
  should not rely on them, as this breaks manual invocation of the
  script. Instead, you should always initialize them using
  dpkg-architecture with the -q option.
Rafael David Tinoco (2):
  Make DEB_HOST_ARCH_CPU initialized through dpkg-architecture
  Release 2:4.9.5+dfsg-6

 debian/changelog | 8 ++++++++
 debian/rules     | 1 +
 2 files changed, 9 insertions(+)
Edited by Mathieu Parent

Merge request reports

Loading