SHA256
1
0
forked from pool/mstflint
mstflint/Fix-gcc7-and-gcc8.patch
Nicolas Morey-Chaisemartin 9fc02bb26e Accepting request 644584 from home:NMoreyChaisemartin:branches:sp1-staging
- Update to v4.10.0-3 (fate#325998)
  - Added mstcongestion 

- Update to v4.10.0-2
  - mstfwreset not supported
  - mstflint now handles all the burn parameters when MCC
    is enabled and displays the secure-FW CS tokens.
  - mstconfig
    - Added the option to query partial parameters
    - Added the following new parameters:
        FLEX_PARSER_PROFILE_ENABLE
        ECPF_ESWITCH_MANAGER
        ECPF_PAGE_SUPPLIER
        SAFE_MODE_ENABLE
        SAFE_MODE_THERSHOLD
        BOOT_UNDI_NETWORK_WAIT
  - Fixed bug in firmware burning flow
- Refresh patchest against latest sources:
  - Remove-date-time-info-from-build.patch
  - Add-s390-s390x-support.patch
  - Add-armv6-and-armv7-support.patch
  - Fix-gcc7-and-gcc8.patch

OBS-URL: https://build.opensuse.org/request/show/644584
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=27
2018-10-25 10:49:12 +00:00

34 lines
1.3 KiB
Diff

commit 6bc135ffb198d601e9c4e3be615f13a98640610b
Author: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Date: Wed Aug 9 17:31:57 2017 +0200
Fix gcc7 and gcc8
Fix compilation errors for GCC7 and GCC8
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
diff --git configure.ac configure.ac
index 5a410606edcc..d76f6ae6df43 100644
--- configure.ac
+++ configure.ac
@@ -164,14 +164,15 @@ AS_IF([test "x$enable_dynamic_ld" = "xyes"], [
])
CFLAGS="$CFLAGS -Werror -DMST_UL"
+CPPFLAGS="$CPPFLAGS -DMST_UL"
CXXFLAGS="$CXXFLAGS -Werror -DMST_UL"
AC_CONFIG_FILES( mstflint.spec )
# C related ignores
-AX_CHECK_COMPILE_FLAG([-Wno-format-overflow], [CFLAGS="$CFLAGS -Wno-format-overflow"], [], [])
-AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough], [CFLAGS="$CFLAGS -Wno-implicit-fallthrough"], [], [])
-AX_CHECK_COMPILE_FLAG([-Wno-cast-function-type], [CFLAGS="$CFLAGS -Wno-cast-function-type"], [], [])
+AX_CHECK_COMPILE_FLAG([-Wno-format-overflow], [CPPFLAGS="$CPPFLAGS -Wno-format-overflow"], [], [])
+AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough], [CPPFLAGS="$CPPFLAGS -Wno-implicit-fallthrough"], [], [])
+AX_CHECK_COMPILE_FLAG([-Wno-cast-function-type], [CPPFLAGS="$CPPFLAGS -Wno-cast-function-type"], [], [])
# C++ related ignores
AC_LANG_PUSH([C++])