svn commit: r515334 - in head/devel/eastl: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Oct 24 11:23:18 UTC 2019
Author: pkubaj
Date: Thu Oct 24 11:23:17 2019
New Revision: 515334
URL: https://svnweb.freebsd.org/changeset/ports/515334
Log:
devel/eastl: fix build on armv*
Building on ARM requires some additional macros.
PR: 241440
Approved by: tcberner (mentor), yuri (maintainer)
Differential Revision: https://reviews.freebsd.org/D22131
Added:
head/devel/eastl/files/patch-test_packages_EABase_include_Common_EABase_config_eaplatform.h (contents, props changed)
Modified:
head/devel/eastl/Makefile
Modified: head/devel/eastl/Makefile
==============================================================================
--- head/devel/eastl/Makefile Thu Oct 24 11:17:20 2019 (r515333)
+++ head/devel/eastl/Makefile Thu Oct 24 11:23:17 2019 (r515334)
@@ -11,7 +11,7 @@ COMMENT= Electronic Arts Standard Template Library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= aarch64 armv6 armv7
+NOT_FOR_ARCHS= aarch64
NOT_FOR_ARCHS_REASON= test/packages/EABase/include/Common/EABase/config/eaplatform.h:436:4: error: Unknown processor
USES= cmake compiler:c++14-lang
Added: head/devel/eastl/files/patch-test_packages_EABase_include_Common_EABase_config_eaplatform.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/eastl/files/patch-test_packages_EABase_include_Common_EABase_config_eaplatform.h Thu Oct 24 11:23:17 2019 (r515334)
@@ -0,0 +1,14 @@
+--- test/packages/EABase/include/Common/EABase/config/eaplatform.h.orig 2019-10-23 16:31:46 UTC
++++ test/packages/EABase/include/Common/EABase/config/eaplatform.h
+@@ -449,6 +449,11 @@
+ #define EA_PROCESSOR_POWERPC_32 1
+ #define EA_SYSTEM_BIG_ENDIAN 1
+ #define EA_PLATFORM_DESCRIPTION "BSD on PowerPC"
++ #elif defined(__arm__)
++ #define EA_ABI_ARM_LINUX 1 // a.k.a. "ARM eabi"
++ #define EA_PROCESSOR_ARM32 1
++ #define EA_SYSTEM_LITTLE_ENDIAN 1
++ #define EA_PLATFORM_DESCRIPTION "BSD on ARM"
+ #else
+ #error Unknown processor
+ #error Unknown endianness
More information about the svn-ports-head
mailing list