Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: unbreak configure stage when RELWITHDEBINFO is blank/has space
[ Upstream commit 9c512b8 ] When cmake is invoked with either an empty argument or one that involves a space, ```sh cmake ... -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=""` cmake ... -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="-O2 -O2" ``` then rdma's CMakeLists.txt falls on its face: [ 3s] CMake Error at buildlib/RDMA_BuildType.cmake:32 (if): [ 3s] if given arguments: [ 3s] [ 3s] "STREQUAL" " -O2 -g -DNDEBUG" [ 3s] [ 3s] Unknown arguments specified Fixes: 7cb1daa ("Be consistent about defining NDEBUG") Signed-off-by: Nicolas Morey <[email protected]>
- Loading branch information