Vincent Lefevre dixit:

>     x86_64:Linux:*:*)
>-       if objdump -f /bin/sh | grep -q elf32-x86-64; then
>-           echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
>-       else
>-           echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
>-       fi
>+       echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
>        exit ;;

Note that this code is actually wrong anyway (and known to
mis-detect on my system due to klibc being LP64 on x32).

https://lists.gnu.org/archive/html/config-patches/2018-02/msg00019.html

We *MUST* do something like this instead:

    x86_64:Linux:*:*)
       case $(${CC_FOR_BUILD:-${CC:-gcc}} -dumpmachine) in
       *x32) echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 ;;
       *)    echo "$UNAME_MACHINE"-pc-linux-"$LIBC"    ;;
       esac
       exit ;;

bye,
//mirabilos
-- 
> Hi, does anyone sell openbsd stickers by themselves and not packaged
> with other products?
No, the only way I've seen them sold is for $40 with a free OpenBSD CD.
        -- Haroon Khalid and Steve Shockley in gmane.os.openbsd.misc

Reply via email to