mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1841197 - Undefine the mips builtin macro on mips in skia. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D182536
This commit is contained in:
parent
1d4be990b0
commit
1413be85ca
@ -99,6 +99,11 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk', 'android'):
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
||||
CXXFLAGS += CONFIG['MOZ_PANGO_CFLAGS']
|
||||
|
||||
if CONFIG['CPU_ARCH'] in ('mips32', 'mips64'):
|
||||
# The skia code uses `mips` as a variable, but it's a builtin preprocessor
|
||||
# macro on mips that expands to `1`.
|
||||
DEFINES['mips'] = False
|
||||
"""
|
||||
|
||||
import json
|
||||
|
@ -610,3 +610,8 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk', 'android'):
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
||||
CXXFLAGS += CONFIG['MOZ_PANGO_CFLAGS']
|
||||
|
||||
if CONFIG['CPU_ARCH'] in ('mips32', 'mips64'):
|
||||
# The skia code uses `mips` as a variable, but it's a builtin preprocessor
|
||||
# macro on mips that expands to `1`.
|
||||
DEFINES['mips'] = False
|
||||
|
Loading…
Reference in New Issue
Block a user