mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
scons+meson: suppress spammy build warning on MacOS
Originally introduced inc7f3657450("darwin: Suppress type conversion warnings for GLhandleARB") to fix Bugzilla #66346 [1], this workaround was never ported to Scons or Meson. [1] https://bugs.freedesktop.org/66346 Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> (cherry picked from commitbf8b5de6b9)
This commit is contained in:
parent
b1d66aa9ee
commit
ac7f03caed
2 changed files with 2 additions and 0 deletions
|
|
@ -250,6 +250,7 @@ endif
|
|||
|
||||
if host_machine.system() == 'darwin'
|
||||
with_dri_platform = 'apple'
|
||||
pre_args += '-DBUILDING_MESA'
|
||||
elif ['windows', 'cygwin'].contains(host_machine.system())
|
||||
with_dri_platform = 'windows'
|
||||
elif system_has_kms_drm
|
||||
|
|
|
|||
|
|
@ -352,6 +352,7 @@ def generate(env):
|
|||
'_DARWIN_C_SOURCE',
|
||||
'GLX_USE_APPLEGL',
|
||||
'GLX_DIRECT_RENDERING',
|
||||
'BUILDING_MESA',
|
||||
]
|
||||
else:
|
||||
cppdefines += [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue