Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes #1385

Merged
merged 2 commits into from
Sep 5, 2023
Merged

Minor fixes #1385

merged 2 commits into from
Sep 5, 2023

Conversation

nmorey
Copy link
Contributor

@nmorey nmorey commented Sep 4, 2023

  • Fix to CMake when using RELWITHDEBINFO has spaces
  • Drop old RPM macros

jengelh and others added 2 commits September 4, 2023 10:47
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]>
@rleon rleon merged commit c02a061 into linux-rdma:master Sep 5, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants