mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-10-02 17:03:07 +00:00
08d59ced0da041c62510dee5f4aa71ddc28126d8
For a native build rpm's brp-strip strips the Go binaries; for a cross build (--target-arch riscv64 on x86_64) the host strip cannot handle the foreign ELF and the rpm shipped unstripped 19 MB binaries. Pass -s -w to the Go linker for cross builds only, so the riscv64 rpm is stripped like the native ones; native builds are unchanged.
Description
No description provided
Languages
C
87.5%
Perl
8.2%
Assembly
1.4%
JavaScript
0.8%
Makefile
0.6%
Other
1.4%