Skip to content

Commit

Permalink
redhat: fix CMake flags
Browse files Browse the repository at this point in the history
[ Upstream commit d452c0f ]

Backport commit 12e8ad3 for redhat specific spec file to fix
broken pkgconf files.

Fixes: 3888efc ("redhat: copy stock spec for RH customization")
Signed-off-by: Honggang Li <honli@redhat.com>
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
  • Loading branch information
Honggang-LI authored and nmorey committed Feb 7, 2022
1 parent 1209aa0 commit 1f7fc46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redhat/rdma-core.spec
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ easy, object-oriented access to IB verbs.
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_BINDIR:PATH=%{_bindir} \
-DCMAKE_INSTALL_SBINDIR:PATH=%{_sbindir} \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
-DCMAKE_INSTALL_LIBEXECDIR:PATH=%{_libexecdir} \
-DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{_localstatedir} \
-DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_sharedstatedir} \
-DCMAKE_INSTALL_INCLUDEDIR:PATH=%{_includedir} \
-DCMAKE_INSTALL_INCLUDEDIR:PATH=include \
-DCMAKE_INSTALL_INFODIR:PATH=%{_infodir} \
-DCMAKE_INSTALL_MANDIR:PATH=%{_mandir} \
-DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} \
Expand Down

0 comments on commit 1f7fc46

Please sign in to comment.