mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
12 lines
580 B
Diff
12 lines
580 B
Diff
--- a/cmake/modules/BuildSPDK.cmake
|
|
+++ b/cmake/modules/BuildSPDK.cmake
|
|
@@ -35,7 +35,7 @@ macro(build_spdk)
|
|
# unset $CFLAGS, otherwise it will interfere with how SPDK sets
|
|
# its include directory.
|
|
# unset $LDFLAGS, otherwise SPDK will fail to mock some functions.
|
|
- 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"
|
|
BUILD_IN_SOURCE 1
|
|
INSTALL_COMMAND "true")
|
|
unset(make_cmd)
|