forked from pool/mstflint
Accepting request 591116 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/591116 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mstflint?expand=0&rev=12
This commit is contained in:
commit
cb5b7c925b
20
mstflint-armv6_arch.patch
Normal file
20
mstflint-armv6_arch.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- tools_layouts/adb_to_c_utils.h 2018-03-25 13:00:40.447893600 +0200
|
||||
+++ tools_layouts/adb_to_c_utils.h 2018-03-25 13:04:15.462427635 +0200
|
||||
@@ -139,6 +139,8 @@ extern "C" {
|
||||
# define ARCH_arm64
|
||||
# elif defined(__ARM_ARCH_7A__)
|
||||
# define ARCH_armv7
|
||||
+# elif defined(__arm__)
|
||||
+# define ARCH_arm6l
|
||||
# elif defined(__s390x__)
|
||||
# define ARCH_s390x
|
||||
# elif defined(__s390__)
|
||||
@@ -179,7 +181,7 @@ extern "C" {
|
||||
# define U64D_FMT "%lu"
|
||||
# define U64H_FMT "0x%016lx"
|
||||
# define U48H_FMT "0x%012lx"
|
||||
-#elif defined(ARCH_x86) || defined(ARCH_ppc) || defined(UEFI_BUILD) || defined(ARCH_s390) || defined(__ARM_ARCH_7A__)
|
||||
+#elif defined(ARCH_x86) || defined(ARCH_ppc) || defined(UEFI_BUILD) || defined(ARCH_s390) || defined(__ARM_ARCH_7A__) || defined(__arm__)
|
||||
# if defined(__MINGW32__) || defined(__MINGW64__)
|
||||
# include <inttypes.h>
|
||||
# define U64D_FMT "0x%" PRId64
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 25 11:17:55 UTC 2018 - kasimir_@outlook.de
|
||||
|
||||
- Add mstflint-armv6_arch.patch to support build on armv6l
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 20 07:44:34 UTC 2018 - nmoreychaisemartin@suse.com
|
||||
|
||||
|
@ -39,6 +39,8 @@ Patch3: mstflint-4.4.0-no-date-time.patch
|
||||
Patch4: mstflint-armv7_arch.patch
|
||||
# PATCH-FIX-UPSTREAM Ignore fallthrough for GCC7 support
|
||||
Patch5: mstflint-gcc7.patch
|
||||
# PATCH-FIX-UPSTREAM Add all needed defines to get it built on armv6
|
||||
Patch6: mstflint-armv6_arch.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: infiniband-diags-devel
|
||||
@ -64,6 +66,7 @@ the downloads page at the Mellanox web site.
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
|
Loading…
Reference in New Issue
Block a user