diff options
author | JW(Shinichi Abe) <shin1.abe@nifty.com> | 2022-12-02 13:02:42 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-03 09:09:21 +0700 |
commit | 5360f04319be764f666fac8c5baadacbac2b459b (patch) | |
tree | 81efe2f0b79da4dcf7d736d6d383026f037a01e0 /misc/fcitx5-mozc/0012-mozc-build-gcc.patch | |
parent | ab354595cfb51296e1a50fc01d369388ada66fdd (diff) |
misc/fcitx5-mozc: Added (Mozc engine for fcitx5).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/fcitx5-mozc/0012-mozc-build-gcc.patch')
-rw-r--r-- | misc/fcitx5-mozc/0012-mozc-build-gcc.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/misc/fcitx5-mozc/0012-mozc-build-gcc.patch b/misc/fcitx5-mozc/0012-mozc-build-gcc.patch new file mode 100644 index 0000000000000..5d8f74faff7c6 --- /dev/null +++ b/misc/fcitx5-mozc/0012-mozc-build-gcc.patch @@ -0,0 +1,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)'], |