fix bug for compile error(https://gitee.com/src-openeuler/wxGTK3/issues/I6VGJC)
This commit is contained in:
parent
f490c8f8ee
commit
f876e664ab
@ -1,6 +1,6 @@
|
|||||||
Name: wxGTK3
|
Name: wxGTK3
|
||||||
Version: 3.0.4
|
Version: 3.0.4
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: C++ Library for Cross-Platform Development
|
Summary: C++ Library for Cross-Platform Development
|
||||||
|
|
||||||
License: GPL-2.0-or-later or LGPL-2.1-only
|
License: GPL-2.0-or-later or LGPL-2.1-only
|
||||||
@ -116,7 +116,7 @@ export CPPUNIT_CONFIG="/usr/bin/pkg-config cppunit"
|
|||||||
|
|
||||||
#package gcc_secure will add _old suffix to compile tools
|
#package gcc_secure will add _old suffix to compile tools
|
||||||
gccexec=`file /usr/bin/gcc`
|
gccexec=`file /usr/bin/gcc`
|
||||||
if [[ ${gccexec} =~ "shell script" ]]; then
|
if [[ ${gccexec} =~ "shell script" ]] && [[ -e /usr/bin/gcc_old ]]; then
|
||||||
for line in `find . -name Makefile.in`;
|
for line in `find . -name Makefile.in`;
|
||||||
do
|
do
|
||||||
sed -i 's/@CC@/@CC@_old/g' $line
|
sed -i 's/@CC@/@CC@_old/g' $line
|
||||||
@ -237,6 +237,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 14 2023 hgzhaod <hgzhaod@isoftstone.com> - 3.0.4-9
|
||||||
|
- fix compile bug caused by no gcc_old
|
||||||
|
|
||||||
* Mon Nov 28 2022 huajingyun <huajingyun@loongson.cn> - 3.0.4-8
|
* Mon Nov 28 2022 huajingyun <huajingyun@loongson.cn> - 3.0.4-8
|
||||||
- modify wx-config to support loongarch64
|
- modify wx-config to support loongarch64
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user