mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 16:20:11 +01:00
Makes libdrm available on host
... to make drm format header visible for host wayland server. Adds -Wno-implicit-function-declaration for vasprintf() on xf86drm.c:2965. Adds -Wno-int-conversion for drm_mmap() on libdrm_macros.h:60. Also, drive-by alphabetize cflags.
This commit is contained in:
parent
6aa6411c5a
commit
dcb14fe0c6
1 changed files with 4 additions and 1 deletions
|
|
@ -37,10 +37,12 @@ cc_defaults {
|
||||||
"-Wno-deprecated-declarations",
|
"-Wno-deprecated-declarations",
|
||||||
"-Wno-format",
|
"-Wno-format",
|
||||||
"-Wno-gnu-variable-sized-type-not-at-end",
|
"-Wno-gnu-variable-sized-type-not-at-end",
|
||||||
|
"-Wno-implicit-function-declaration",
|
||||||
|
"-Wno-int-conversion",
|
||||||
|
"-Wno-missing-field-initializers",
|
||||||
"-Wno-pointer-arith",
|
"-Wno-pointer-arith",
|
||||||
"-Wno-unused-parameter",
|
"-Wno-unused-parameter",
|
||||||
"-Wno-unused-variable",
|
"-Wno-unused-variable",
|
||||||
"-Wno-missing-field-initializers",
|
|
||||||
],
|
],
|
||||||
export_include_dirs: ["."],
|
export_include_dirs: ["."],
|
||||||
}
|
}
|
||||||
|
|
@ -50,6 +52,7 @@ cc_library {
|
||||||
name: "libdrm",
|
name: "libdrm",
|
||||||
recovery_available: true,
|
recovery_available: true,
|
||||||
vendor_available: true,
|
vendor_available: true,
|
||||||
|
host_supported: true,
|
||||||
defaults: [
|
defaults: [
|
||||||
"libdrm_defaults",
|
"libdrm_defaults",
|
||||||
"libdrm_sources",
|
"libdrm_sources",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue