aboutsummaryrefslogtreecommitdiff
path: root/misc/fcitx5-mozc/0012-mozc-build-gcc.patch
blob: 5d8f74faff7c6e6d4efa9594a29eddc33a1420b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Index: b/gyp/common.gypi
===================================================================
--- a/gyp/common.gypi
+++ b/gyp/common.gypi
@@ -128,9 +128,9 @@
         'compiler_host_version_int': 304,  # Clang 3.4 or higher
       }],
       ['target_platform=="Linux"', {
-        'compiler_target': 'clang',
+        'compiler_target': 'gcc',
         'compiler_target_version_int': 304,  # Clang 3.4 or higher
-        'compiler_host': 'clang',
+        'compiler_host': 'gcc',
         'compiler_host_version_int': 304,  # Clang 3.4 or higher
       }],
     ],
@@ -445,8 +445,8 @@
     ['target_platform=="Linux"', {
       'make_global_settings': [
         ['AR', '<!(which ar)'],
-        ['CC', '<!(which clang)'],
-        ['CXX', '<!(which clang++)'],
+        ['CC', '<!(which gcc)'],
+        ['CXX', '<!(which g++)'],
         ['LD', '<!(which ld)'],
         ['NM', '<!(which nm)'],
         ['READELF', '<!(which readelf)'],