Bug#983807: spring builds with -march=native on amd64

Adrian Bunk bunk at debian.org
Mon Mar 1 21:53:37 GMT 2021


Source: spring
Version: 105.0.1+dfsg-1
Severity: serious
Tags: patch

spring builds with -march=native on amd64, which makes spring
only work on machines compatible with whatever buildd built it.

Fix:

--- debian/rules.old	2021-03-01 21:06:07.743433910 +0000
+++ debian/rules	2021-03-01 21:31:31.399556520 +0000
@@ -13,7 +13,7 @@
 ifeq ($(DEB_HOST_ARCH_CPU),i386)
 	MARCH_FLAG :="i686"
 else
-	MARCH_FLAG :="native"
+	MARCH_FLAG :="x86-64"
 endif
 
 %:



More information about the Pkg-games-devel mailing list