mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-26 11:10:31 +02:00
The status quote of cpuburn is always built for 32bits on x86_64, which requires dynamic linker for 32 bit system. On x86-64 system, we can workaround by depends on glibc-32bit. However, we don't have that luxury on x86_64-musl system. Since `cpuburn` doesn't use any features from libc and/or dynamic linker, we can simply build static instead. Fix #41307
7 lines
170 B
Diff
7 lines
170 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1,3 +1,3 @@
|
|
all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX
|
|
.S:
|
|
- gcc -s -nostdlib -o $@ $<
|
|
+ gcc -static -m32 -s -nostdlib -o $@ $<
|