summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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