已开启
add LDFLAG '-Wl, -no-relax' for sw_64 in spec #231
lc-compiler创建于 4月22日
add LDFLAG '-Wl, -no-relax' for sw_64 in spec #231
已开启
共 1 个文件变更+8-1
| @@ -1,4 +1,4 @@ | |||
| 1 | -%global baserelease 7 | 1 | +%global baserelease 8 |
| 2 | %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} | 2 | %{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} |
| 3 | %global nodejs_epoch 1 | 3 | %global nodejs_epoch 1 |
| 4 | %global nodejs_major 20 | 4 | %global nodejs_major 20 |
| @@ -286,6 +286,10 @@ export CFLAGS="$(echo ${CFLAGS} | sed -e s/-fno-ipa-icf//g)" | |||
| 286 | export CXXFLAGS="$(echo ${CXXFLAGS} | sed -e s/-fno-ipa-icf//g)" | 286 | export CXXFLAGS="$(echo ${CXXFLAGS} | sed -e s/-fno-ipa-icf//g)" |
| 287 | %endif | 287 | %endif |
| 288 | 288 | ||
| 289 | +%ifarch sw_64 | ||
| 290 | + export LDFLAGS="$LDFLAGS -Wl, -no-relax" | ||
| 291 | +%endif | ||
| 292 | + | ||
| 289 | %{__python3} configure.py --prefix=%{_prefix} \ | 293 | %{__python3} configure.py --prefix=%{_prefix} \ |
| 290 | --verbose \ | 294 | --verbose \ |
| 291 | --ninja \ | 295 | --ninja \ |
| @@ -449,6 +453,9 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/nod | |||
| 449 | %{_pkgdocdir}/npm/docs | 453 | %{_pkgdocdir}/npm/docs |
| 450 | 454 | ||
| 451 | %changelog | 455 | %changelog |
| 456 | +* Wed Apr 22 2026 swcompiler <lc@wxiat.com> - 1:20.18.2-8 | ||
| 457 | +- add LDFLAG '-Wl, -no-relax' for sw_64 in spec | ||
| 458 | + | ||
| 452 | * Fri Apr 10 2026 wangkai <13474090681@163.com> - 1:20.18.2-7 | 459 | * Fri Apr 10 2026 wangkai <13474090681@163.com> - 1:20.18.2-7 |
| 453 | - Followup fix CVE-2026-21637 and fix CVE-2026-21710, CVE-2026-21713, | 460 | - Followup fix CVE-2026-21637 and fix CVE-2026-21710, CVE-2026-21713, |
| 454 | CVE-2026-21714, CVE-2026-21715, CVE-2026-21716, CVE-2026-21717 | 461 | CVE-2026-21714, CVE-2026-21715, CVE-2026-21716, CVE-2026-21717 |