Add compilation support for loongarch64 arch

This commit is contained in:
Dandan Zhang
2021-12-13 11:36:53 +08:00
parent fc876f2517
commit 8a3bf17b4b
3 changed files with 13 additions and 0 deletions

View File

@@ -736,6 +736,13 @@ sub vms_info {
shared_ldflag => add("-mabi=64"),
multilib => "64",
},
"linux64-loongarch64" => {
inherit_from => [ "linux-generic64" ],
cflags => add("-mabi=lp64"),
perlasm_scheme => "64",
shared_ldflag => add("-mabi=lp64"),
multilib => "64",
},
#### IA-32 targets...
#### These two targets are a bit aged and are to be used on older Linux