ax_boost_base.m4 and secondary architectures

Marcin Juszkiewicz mjuszkiewicz at redhat.com
Fri Sep 5 09:37:35 UTC 2014


Hi fellow packagers!

On behalf of secondary architectures maintainers I have a small request
to you:

If your package uses Boost then next time you will make changes please 
take a look at m4/ax_boost_base.m4 file.

There can be such piece of code there:

----------------------------------------------------------------------------------------
    dnl On 64-bit systems check for system libraries in both lib64 and lib.
    dnl The former is specified by FHS, but e.g. Debian does not adhere to
    dnl this (as it rises problems for generic multi-arch support).
    dnl The last entry in the list is chosen by default when no libraries
    dnl are found, e.g. when only header-only libraries are installed!
    libsubdirs="lib"
    ax_arch=`uname -m`
    if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
        libsubdirs="lib64 lib lib64"
    fi
----------------------------------------------------------------------------------------

Small patch which would add "-o $ax_arch = aarch64" (and probably also
"-o $ax_arch = ppc64le" for little endian PPC64) would make your package
automatically buildable for us.

Attached is an example fix for 'flush' package.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flush.diff
Type: text/x-diff
Size: 1515 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140905/948f4453/attachment-0001.bin>


More information about the devel mailing list