mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
concurrencykit: Fix build on riscv32 and riscv64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
|||||||
|
From 00f822ab79b6c06936147af4d832e439cecf0fc0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Sat, 7 Jan 2023 19:31:58 -0800
|
||||||
|
Subject: [PATCH] build: Use ilp32d abi on riscv32 and lp64d on rv64
|
||||||
|
|
||||||
|
ilp32d is common ABI used for linux distributions therefore a better
|
||||||
|
default, similarily lp64d is common ABI for rv64 linux
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/concurrencykit/ck/pull/204]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
build/ck.build.riscv | 2 +-
|
||||||
|
build/ck.build.riscv64 | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/build/ck.build.riscv b/build/ck.build.riscv
|
||||||
|
index 61e0033..11ac840 100644
|
||||||
|
--- a/build/ck.build.riscv
|
||||||
|
+++ b/build/ck.build.riscv
|
||||||
|
@@ -1 +1 @@
|
||||||
|
-CFLAGS+=-mabi=ilp32
|
||||||
|
+CFLAGS+=-mabi=ilp32d
|
||||||
|
diff --git a/build/ck.build.riscv64 b/build/ck.build.riscv64
|
||||||
|
index 9f89791..7639bd6 100644
|
||||||
|
--- a/build/ck.build.riscv64
|
||||||
|
+++ b/build/ck.build.riscv64
|
||||||
|
@@ -1 +1 @@
|
||||||
|
-CFLAGS+=-mabi=lp64
|
||||||
|
+CFLAGS+=-mabi=lp64d
|
||||||
|
--
|
||||||
|
2.39.0
|
||||||
|
|
||||||
@@ -11,7 +11,8 @@ PV = "0.7.0+git${SRCPV}"
|
|||||||
SRCREV = "6e8e5bec2e2f8cef2072a68579cbb07ababf3331"
|
SRCREV = "6e8e5bec2e2f8cef2072a68579cbb07ababf3331"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a0b24c1a8f9ad516a297d055b0294231"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=a0b24c1a8f9ad516a297d055b0294231"
|
||||||
SRC_URI = "git://github.com/concurrencykit/ck.git;branch=master;protocol=https \
|
SRC_URI = "git://github.com/concurrencykit/ck.git;branch=master;protocol=https \
|
||||||
file://0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch"
|
file://0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch \
|
||||||
|
file://0001-build-Use-ilp32d-abi-on-riscv32-and-lp64d-on-rv64.patch"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user