mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 08:10:11 +01:00
Export include dirs with -isystem
drm_property_type_is function in xf86drmMode.h file can cause compiler error because it performs unsigned to signed conversion. Some Android.mk modules have been avoiding this by adding "-isystem external/libdrm" flag, because warnings from system headers are suppressed. This changes exported_include_dirs to export_system_include_dirs to workaround the potential error with the same manner above.
This commit is contained in:
parent
dcb14fe0c6
commit
460f7907de
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ cc_defaults {
|
||||||
"-Wno-unused-parameter",
|
"-Wno-unused-parameter",
|
||||||
"-Wno-unused-variable",
|
"-Wno-unused-variable",
|
||||||
],
|
],
|
||||||
export_include_dirs: ["."],
|
export_system_include_dirs: ["."],
|
||||||
}
|
}
|
||||||
|
|
||||||
// Library for the device
|
// Library for the device
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue