slackbuilds_ponce/misc/fcitx5-mozc/0012-mozc-build-gcc.patch
JW(Shinichi Abe) 5360f04319
misc/fcitx5-mozc: Added (Mozc engine for fcitx5).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-12-03 09:09:21 +07:00

27 lines
940 B
Diff

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)'],