Date: Fri, 20 Dec 2024 12:05:29 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 78668471f354 - main - devel/premake5: fix build on powerpc* Message-ID: <202412201205.4BKC5TMv015412@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=78668471f354226a935a9403393eb6ad013b4f5d commit 78668471f354226a935a9403393eb6ad013b4f5d Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-12-19 12:28:39 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-12-20 12:05:00 +0000 devel/premake5: fix build on powerpc* --- devel/premake5/files/patch-src_host_premake.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/devel/premake5/files/patch-src_host_premake.h b/devel/premake5/files/patch-src_host_premake.h new file mode 100644 index 000000000000..89738c93b5e6 --- /dev/null +++ b/devel/premake5/files/patch-src_host_premake.h @@ -0,0 +1,13 @@ +--- src/host/premake.h.orig 2024-12-11 10:29:35 UTC ++++ src/host/premake.h +@@ -60,6 +60,10 @@ + #elif defined(__arm__) || defined(__thumb__) || defined(__TARGET_ARCH_ARM) || defined(__TARGET_ARCH_THUMB) || \ + defined(__ARM) || defined(_M_ARM) || defined(_M_ARM_T) || defined(__ARM_ARCH) + #define PLATFORM_ARCHITECTURE "ARM" ++#elif defined(__powerpc64__) ++#define PLATFORM_ARCHITECTURE "PPC64" ++#elif defined(__powerpc__) ++#define PLATFORM_ARCHITECTURE "PPC" + #endif + + /* Pull in platform-specific headers required by built-in functions */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412201205.4BKC5TMv015412>
