configure: Add extra dir for header|lib files lookup
These paths are not being looked up by clang (cc) by default, hence currently it's not possible for vm_setup.sh to compile ref spdk on FreeBSD as the compiler is not able to find libunwind.* files. The reason why it looks for libunwind is because get_config_params(), which is passed to ./configure, uses hardcoded gcc (not $CC) to check if libunwind is supported. This fixes the particular issue with libunwind (and potentially other files for different options), inconsistency mentioned above should be addressed separately (Issue: #1397). Change-Id: I2afe11a669ba248ddb7854aa2a36a36372e944f4 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2434 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot
This commit is contained in:
parent
0e79a79df3
commit
6c23a6f4d9
Loading…
Reference in New Issue
Block a user