2020-07-07 09:56:04 +01:00
|
|
|
--- a/cmake/modules/BuildSPDK.cmake
|
|
|
|
+++ b/cmake/modules/BuildSPDK.cmake
|
|
|
|
@@ -35,7 +35,7 @@ macro(build_spdk)
|
2018-11-06 13:35:48 +00:00
|
|
|
# unset $CFLAGS, otherwise it will interfere with how SPDK sets
|
|
|
|
# its include directory.
|
|
|
|
# unset $LDFLAGS, otherwise SPDK will fail to mock some functions.
|
2020-07-07 09:56:04 +01:00
|
|
|
- BUILD_COMMAND env -i PATH=$ENV{PATH} CC=${CMAKE_C_COMPILER} ${make_cmd} EXTRA_CFLAGS="${spdk_CFLAGS}"
|
|
|
|
+ BUILD_COMMAND env -i PATH=$ENV{PATH} CC=${CMAKE_C_COMPILER} ${make_cmd} EXTRA_CFLAGS="${spdk_CFLAGS}" C_OPT="-mssse3"
|
2018-11-06 13:35:48 +00:00
|
|
|
BUILD_IN_SOURCE 1
|
|
|
|
INSTALL_COMMAND "true")
|
2020-07-07 09:56:04 +01:00
|
|
|
unset(make_cmd)
|