forked from pool/mstflint
Accepting request 499770 from science:HPC
- Add mstflint-gcc7.patch for GCC7 support (forwarded request 499769 from NMoreyChaisemartin) OBS-URL: https://build.opensuse.org/request/show/499770 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mstflint?expand=0&rev=7
This commit is contained in:
commit
c98181e785
12
mstflint-gcc7.patch
Normal file
12
mstflint-gcc7.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git configure.ac configure.ac
|
||||||
|
index f988818..8384528 100644
|
||||||
|
--- configure.ac
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -98,6 +98,7 @@ AS_IF([test "x$enable_dynamic_ld" = "xyes"], [
|
||||||
|
LDFLAGS="$LDFLAGS -Wl,--dynamic-linker=/lib64/ld64.so.2"
|
||||||
|
])
|
||||||
|
|
||||||
|
+CPPFLAGS="$CPPFLAGS -Wno-implicit-fallthrough"
|
||||||
|
CFLAGS="$CFLAGS -Werror -DMST_UL"
|
||||||
|
CXXFLAGS="$CXXFLAGS -Werror -DMST_UL"
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 30 12:21:38 UTC 2017 - nmoreychaisemartin@suse.com
|
||||||
|
|
||||||
|
- Add mstflint-gcc7.patch for GCC7 support
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 18 05:54:00 UTC 2017 - nmoreychaisemartin@suse.com
|
Thu May 18 05:54:00 UTC 2017 - nmoreychaisemartin@suse.com
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@ Patch2: mstflint-4.4.0-implicit-declaration.patch
|
|||||||
Patch3: mstflint-4.4.0-no-date-time.patch
|
Patch3: mstflint-4.4.0-no-date-time.patch
|
||||||
# PATCH-FIX-UPSTREAM Add all needed defines to get it built on armv7
|
# PATCH-FIX-UPSTREAM Add all needed defines to get it built on armv7
|
||||||
Patch4: mstflint-armv7_arch.patch
|
Patch4: mstflint-armv7_arch.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Ignore fallthrough for GCC7 support
|
||||||
|
Patch5: mstflint-gcc7.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libibmad-devel
|
BuildRequires: libibmad-devel
|
||||||
@ -61,6 +63,7 @@ the downloads page at the Mellanox web site.
|
|||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
|
%patch5
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user