kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 0d39e5c62a4eb11ac476966b870475d4074195bc
parent efc7b3d9a63845bf5fd8451c49346f935efaa030
Author: Joris Vink <joris@coders.se>
Date:   Mon, 29 Nov 2021 15:43:43 +0100

Allow setting of TARGET_PLATFORM.

This overrides the linux seccomp building, useful
for cross compiling Kore to other linux architectures.

Diffstat:
misc/linux-platform.sh | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/misc/linux-platform.sh b/misc/linux-platform.sh @@ -2,7 +2,12 @@ # # Linux specific defines and system call maps. -PLATFORM=$(uname -m) +if [ -z "$TARGET_PLATFORM" ]; then + PLATFORM=$(uname -m) +else + PLATFORM=$TARGET_PLATFORM +fi + BASE=$(dirname $0) case "$PLATFORM" in