32 lines
980 B
Diff
32 lines
980 B
Diff
|
|
From 4d2ed81fcc1f21aa651fb5cc4555ea21cfd3d232 Mon Sep 17 00:00:00 2001
|
||
|
|
From: peng_zou <peng.zou@shingroup.cn>
|
||
|
|
Date: Tue, 25 Jun 2024 10:33:28 +0800
|
||
|
|
Subject: [PATCH] Fix build error for ppc64le
|
||
|
|
|
||
|
|
---
|
||
|
|
Configurations/10-main.conf | 8 ++++++++
|
||
|
|
1 file changed, 8 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
|
||
|
|
index 915e7dd..27433ce 100644
|
||
|
|
--- a/Configurations/10-main.conf
|
||
|
|
+++ b/Configurations/10-main.conf
|
||
|
|
@@ -734,6 +734,14 @@ my %targets = (
|
||
|
|
asm_arch => 'ppc64',
|
||
|
|
perlasm_scheme => "linux64le",
|
||
|
|
},
|
||
|
|
+ "linux64-ppc64le" => {
|
||
|
|
+ inherit_from => [ "linux-generic64" ],
|
||
|
|
+ cflags => add("-m64"),
|
||
|
|
+ cxxflags => add("-m64"),
|
||
|
|
+ lib_cppflags => add("-DL_ENDIAN"),
|
||
|
|
+ asm_arch => 'ppc64',
|
||
|
|
+ perlasm_scheme => "linux64le",
|
||
|
|
+ },
|
||
|
|
|
||
|
|
"linux-armv4" => {
|
||
|
|
################################################################
|
||
|
|
--
|
||
|
|
2.43.0
|
||
|
|
|