diff options
author | Jonas Heinrich | 2017-11-28 22:19:37 +0100 |
---|---|---|
committer | Jonas Heinrich | 2017-11-28 22:19:37 +0100 |
commit | be249aa85007b8d48a4eab7dfe38e2404f70034c (patch) | |
tree | 56dc099158b510b348ec5f734434eea8a2f74f90 /use-system-clang.patch | |
download | aur-electron-wayland.tar.gz |
first commit
Diffstat (limited to 'use-system-clang.patch')
-rw-r--r-- | use-system-clang.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/use-system-clang.patch b/use-system-clang.patch new file mode 100644 index 000000000000..ec13b0ba75d2 --- /dev/null +++ b/use-system-clang.patch @@ -0,0 +1,13 @@ +--- a/script/bootstrap.py ++++ b/script/bootstrap.py +@@ -165,8 +165,8 @@ def update_node_modules(dirname, env=None): + if env is None: + env = os.environ.copy() + if PLATFORM == 'linux': +- # Use prebuilt clang for building native modules. +- set_clang_env(env) ++ env['CC'] = 'clang' ++ env['CXX'] = 'clang++' + env['npm_config_clang'] = '1' + with scoped_cwd(dirname): + args = [NPM, 'install'] |