summaryrefslogtreecommitdiff
path: root/xpcom/build/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/build/moz.build')
-rw-r--r--xpcom/build/moz.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/xpcom/build/moz.build b/xpcom/build/moz.build
index c58b4db3f5..93e89e537b 100644
--- a/xpcom/build/moz.build
+++ b/xpcom/build/moz.build
@@ -37,8 +37,9 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
'PoisonIOInterposerBase.cpp',
'PoisonIOInterposerMac.cpp',
]
- SOURCES += ['mach_override.c']
- SOURCES['mach_override.c'].flags += ['-Wno-unused-function']
+ if CONFIG["CPU_ARCH"] != "aarch64":
+ SOURCES += ['mach_override.c']
+ SOURCES['mach_override.c'].flags += ['-Wno-unused-function']
else:
SOURCES += ['PoisonIOInterposerStub.cpp']