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
 
 %:

Reply via email to