Whamcloud - gitweb
LU-15652 build: On Debian detect -common kernel headers 36/46836/4
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 25 May 2022 16:46:50 +0000 (23:46 +0700)
committerShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 25 May 2022 16:46:50 +0000 (23:46 +0700)
commit151f807d0ea970c63e7f23bd44535eb2da1d8ca1
tree94e204f940af297112e94f645ae7b7d9ced444f3
parentc524079f4f59a39b99467d9868ee4aafdcf033e9
LU-15652 build: On Debian detect -common kernel headers

Check for a matching /usr/src/linux-headers-<ver>-common/
and update the --with-linux argument accordingly.

Also move LC_GLIBC_SUPPORT_COPY_FILE_RANGE outside
of utils as this also breaks the dkms build on Debian
with 'static' follows 'non static' declairation of
copy_file_range.

HPE-bug-id: LUS-10826
Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I6e4f0b27eba6c5b07cda14f064e57aa9c93ae3cc
config/lustre-build-linux.m4
config/lustre-build.m4