summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-06-25 04:56:16 +0000
committerCoprDistGit <infra@openeuler.org>2025-06-25 04:56:16 +0000
commit1e249c54fdca9b8ace44ad15a71138adde55fdc0 (patch)
treee72fd7d3c4eebeb78dad6b5ddfe148932dbef2e0
parenta644d90a12b3a4d44c98567f3f52e4b0e70772b9 (diff)
automatic import of fcitx5
-rw-r--r--fcitx5.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/fcitx5.spec b/fcitx5.spec
index 4f2b40b..5478b8c 100644
--- a/fcitx5.spec
+++ b/fcitx5.spec
@@ -1,7 +1,7 @@
%global _xinputconf %{_sysconfdir}/X11/xinit/xinput.d/fcitx5.conf
-%global __cc_gcc /opt/openEuler/gcc-toolset-14/root/usr/bin/cc
-%global __cxx_gcc /opt/openEuler/gcc-toolset-14/root/usr/bin/c++
-%global __cpp_gcc /opt/openEuler/gcc-toolset-14/root/usr/bin/cpp
+%global __cc_gcc /opt/openEuler/gcc-toolset-14/root/usr/bin/gcc
+%global __cxx_gcc /opt/openEuler/gcc-toolset-14/root/usr/bin/g++
+%global __cpp_gcc /opt/openEuler/gcc-toolset-14/root/usr/bin/gcc -E
Name: fcitx5
Version: 5.1.14
@@ -100,6 +100,10 @@ This package will setup autostart and environment needed for fcitx5 to work prop
%build
+export CC=/opt/openEuler/gcc-toolset-14/root/usr/bin/gcc
+export CXX=/opt/openEuler/gcc-toolset-14/root/usr/bin/g++
+export CCC=/opt/openEuler/gcc-toolset-14/root/usr/bin/g++
+
%cmake -S . -B %{_target_platform} \
-GNinja