diff options
Diffstat (limited to 'brpc.spec')
| -rw-r--r-- | brpc.spec | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -61,9 +61,11 @@ The %{name} tools. %autosetup -n %{name}-%{version} %build -# Invoke the cmake binary directly instead of the %cmake rpm macros so the +# Invoke the cmake binary directly instead of the CMake RPM macros so the # build is portable across builders (including minimal smoke workers that do -# not ship the cmake macro package). +# not ship the cmake macro package). NOTE: never spell out the cmake macro +# name (percent-cmake) in a comment -- rpm expands it even inside comments and +# the multi-line expansion escapes the comment, injecting a bogus cmake call. cmake -S . -B build \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \ |
