Package: mozc / 2.23.2815.102+dfsg-4

gcc.patch Patch series | download
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
28
29
30
diff --git a/src/gyp/common.gypi b/src/gyp/common.gypi
index d78f4f8..c5f91ca 100644
--- a/src/gyp/common.gypi
+++ b/src/gyp/common.gypi
@@ -134,10 +134,10 @@
         'compiler_host_version_int': 304,  # Clang 3.4 or higher
       }],
       ['target_platform=="Linux"', {
-        'compiler_target': 'clang',
-        'compiler_target_version_int': 304,  # Clang 3.4 or higher
-        'compiler_host': 'clang',
-        'compiler_host_version_int': 304,  # Clang 3.4 or higher
+        'compiler_target': 'g++',
+        'compiler_target_version_int': 409,  # gcc 4.9 or higher
+        'compiler_host': 'g++',
+        'compiler_host_version_int': 409,  # gcc 4.9 or higher
       }],
     ],
   },
@@ -455,8 +455,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)'],