Sage Weil dixit:

>I'll apply the original patch (and backport) to start.  But making the 
>build properly detect amd64 would be even better.  Right now we are 
>testing whether `arch` = 'x86_64'.  What should we do to distinguish 
>between an x86_64 and x32 build?

Mh okay.

if test x"$cpu" = x"x86_64" || test x"$cpu" = x"i386"; then
        cat >conftest.c <<-'EOF'
        #if defined(__x86_64__) && defined(__ILP32__)
        #error x32
        #endif
        EOF
        $CC -c conftest.c || cpu=x32
fi

bye,
//mirabilos
-- 
“ah that reminds me, thanks for the stellar entertainment that you and certain
other people provide on the Debian mailing lists │ sole reason I subscribed to
them (I'm not using Debian anywhere) is the entertainment factor │ Debian does
not strike me as a place for good humour, much less German admin-style humour”


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to