aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2019-05-03 10:35:33 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2019-05-06 16:24:42 -0500
commit8100832f623b2f620b9f051247368a1857310406 (patch)
tree37c928baa4833875b63fd074b1e996bfe5a5559c /python
parent5d7f238794c5af717a00f6410d03ca73122a4469 (diff)
downloadservo-8100832f623b2f620b9f051247368a1857310406.tar.gz
servo-8100832f623b2f620b9f051247368a1857310406.zip
Get ./mach build --magicleap --debugmozjs to build
Diffstat (limited to 'python')
-rw-r--r--python/servo/build_commands.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index c40890ff579..674c06245fb 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -212,11 +212,6 @@ class MachCommands(CommandBase):
print("Please specify either --target or --android.")
sys.exit(1)
- # https://github.com/servo/servo/issues/22069
- if debug_mozjs and magicleap:
- print("Please specify either --debug-mozjs or --magicleap.")
- sys.exit(1)
-
if android:
target = self.config["android"]["target"]
@@ -576,6 +571,7 @@ class MachCommands(CommandBase):
env.setdefault("HARFBUZZ_SYS_NO_PKG_CONFIG", "1")
env.setdefault("PKG_CONFIG_ALLOW_CROSS", "1")
env.setdefault("CMAKE_TOOLCHAIN_FILE", path.join(ml_support, "toolchain.cmake"))
+ env.setdefault("_LIBCPP_INLINE_VISIBILITY", "__attribute__((__always_inline__))")
# The Open SSL configuration
env.setdefault("OPENSSL_DIR", path.join(target_path, target, "native", "openssl"))