PKGBUILDs/community/cpuburn/cpuburn.patch

42 lines
872 B
Diff
Raw Normal View History

2018-06-01 12:59:10 +00:00
--- cpuburn-1.4.orig/burnP6.S
+++ cpuburn-1.4/burnP6.S
@@ -69,6 +69,7 @@
push %eax # *BSD syscall
int $0x80
#endif
+.data # Data allocation
.align 32,0
half: .long 0x7fffffff,0
e: .long 0xffffffff,0x3fdfffff
--- cpuburn-1.4.orig/burnK6.S
+++ cpuburn-1.4/burnK6.S
@@ -68,6 +68,7 @@
push %eax
int $0x80
#endif
+.data # Data allocation
.align 32,0
half: .long 0x7fffffff,0
e: .long 0xffffffff,0x3fdfffff
--- cpuburn-1.4.orig/Makefile
+++ cpuburn-1.4/Makefile
@@ -1,3 +1,3 @@
all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX
.S:
- gcc -s -nostdlib -o $@ $<
2019-01-06 16:46:26 +00:00
+ gcc -m32 -s -nostdlib -static -o $@ $<
2018-06-01 12:59:10 +00:00
--- cpuburn-1.4.orig/burnK7.S
+++ cpuburn-1.4/burnK7.S
@@ -74,10 +74,9 @@
push %eax
int $0x80
#endif
+.data # Data allocation
.align 32,0
.fill 64
half: .long 0x7fffffff,0
e: .long 0xffffffff,0x3fdfffff
rt: .long 0xffffffff,0x3fefffff
-
-