diff --git a/docker/cross-files/loongarch64-clang-18-ccache.cross b/docker/cross-files/loongarch64-clang-18-ccache.cross index 082728339..7f6530472 100644 --- a/docker/cross-files/loongarch64-clang-18-ccache.cross +++ b/docker/cross-files/loongarch64-clang-18-ccache.cross @@ -8,8 +8,8 @@ ld = 'llvm-ld-18' exe_wrapper = ['qemu-loongarch64-static', '-L', '/usr/loongarch64-linux-gnu/', '-cpu', 'la464'] [properties] -c_args = ['--target=loongarch64-linux-gnu', '-march=la464', '-isystem=/usr/loongarch64-linux-gnu/include', '-Wextra', '-Werror'] -cpp_args = ['--target=loongarch64-linux-gnu', '-march=la464', '-isystem=/usr/loongarch64-linux-gnu/include', '-Wextra', '-Werror'] +c_args = ['--target=loongarch64-linux-gnu', '-march=la464', '-isystem=/usr/loongarch64-linux-gnu/include', '-Wextra', '-Werror', '-mlsx', '-mlasx'] +cpp_args = ['--target=loongarch64-linux-gnu', '-march=la464', '-isystem=/usr/loongarch64-linux-gnu/include', '-Wextra', '-Werror', '-mlsx', '-mlasx'] c_link_args = ['--target=loongarch64-linux-gnu'] cpp_link_args = ['--target=loongarch64-linux-gnu'] diff --git a/docker/cross-files/loongarch64-gcc-14-ccache.cross b/docker/cross-files/loongarch64-gcc-14-ccache.cross index b01f9544b..b3296f02c 100644 --- a/docker/cross-files/loongarch64-gcc-14-ccache.cross +++ b/docker/cross-files/loongarch64-gcc-14-ccache.cross @@ -8,8 +8,8 @@ ld = 'loongarch64-linux-gnu-ld' exe_wrapper = ['qemu-loongarch64-static', '-L', '/usr/loongarch64-linux-gnu/', '-cpu', 'la464'] [properties] -c_args = ['-march=loongarch64', '-Wextra', '-Werror', '-mlsx'] -cpp_args = ['-march=loongarch64', '-Wextra', '-Werror', '-mlsx'] +c_args = ['-march=loongarch64', '-Wextra', '-Werror', '-mlsx', '-mlasx'] +cpp_args = ['-march=loongarch64', '-Wextra', '-Werror', '-mlsx', '-mlasx'] #c_args = ['-march=la464', '-Wextra', '-Werror'] #cpp_args = ['-march=la464', '-Wextra', '-Werror']