crypto/dpaa2_sec: fix build with GCC < 7
This patch fixes the compilation with compiler GCC < 7
dpaa2_sec/hw/rta/operation_cmd.h:12:32: error: unknown option after
‘#pragma GCC diagnostic’ kind [-Werror=pragmas]
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
Fixes: 2ab9a94831
("crypto/dpaa2_sec: fix build with GCC 7")
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
This commit is contained in:
parent
257515a500
commit
367bc2a9fd
@ -8,7 +8,9 @@
|
||||
#ifndef __RTA_OPERATION_CMD_H__
|
||||
#define __RTA_OPERATION_CMD_H__
|
||||
|
||||
#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 70000)
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
|
||||
#endif
|
||||
|
||||
extern enum rta_sec_era rta_sec_era;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user