configure: Add support for loongarch.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Wed, 1 Dec 2021 03:52:19 +0000 (11:52 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 Dec 2021 16:44:56 +0000 (17:44 +0100)
commit07f8f78a5fb8b6a28f7b9d79fae6e411a17114ee
tree9ce6d4bdaec05ad5de4a270086f29f0bee92cd09
parent12f8293c025f0a6103f2d0a05b05bffa9f4ff434
configure: Add support for loongarch.

For la464 cpu: ./configure --cpu=la464

With cross-compiler:
./configure --cross-prefix=loongarch64-linux-gnu- \
            --enable-cross-compile --arch=loongarch64 \
            --target-os=linux --cpu=la464

Reviewed-by: 陈昊 <chenhao@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Changelog
configure