]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: pass "CC" using configure when building liburing 41038/head
authorKefu Chai <kchai@redhat.com>
Tue, 27 Apr 2021 05:33:40 +0000 (13:33 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 27 Apr 2021 05:36:23 +0000 (13:36 +0800)
commite25c046f31c9822b094cabc9c89f08bae28aca44
tree64ae356b33ad3fe3d3e20df3146cf4ed8f4e9089
parent7b5ab38ea49de44c0a97e46ca23a1b43e9cb7f09
cmake: pass "CC" using configure when building liburing

since liburing's configure checks the CC and CXX env variables, let's
pass them when calling "configure". otherwise "make" still uses gcc and
g++ by default as they are specified in the "configure" script. this
also matches with the way how debian/rules calls "make".

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/Builduring.cmake