agl-persistent-storage-api: set BINDGEN_EXTRA_CLANG_ARGS 60/30460/2
authorScott Murray <scott.murray@konsulko.com>
Wed, 16 Oct 2024 18:44:50 +0000 (14:44 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 22 Oct 2024 12:05:58 +0000 (12:05 +0000)
commit734f60eafdd844bb620f8d540b1140f024e522e4
tree31560d8b7c27b9a6055b56614d3564fd450c8a81
parentb81e1c60cbfae4b48ba99f1af3bbbf8a9c69a43c
agl-persistent-storage-api: set BINDGEN_EXTRA_CLANG_ARGS

The agl-persistent-storage-api build was failing on hosts where the
native headers happened to not work with the clang invocation being
done during binding generation for the rocksdb wrapper crate.
To avoid this, set BINDGEN_EXTRA_CLANG_ARGS to pass in the required
cross-compile environment arguments.

Bug-AGL: SPEC-5264

Change-Id: I54af5846045285b4ccd7af5cc0087193eae79be0
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30416
Tested-by: Jenkins Job builder account
Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
(cherry picked from commit df7db40b80da5300dbced99aef171d1e0dada5af)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30460
recipes-demo/agl-persistent-storage-api/agl-persistent-storage-api_git.bb