Commit 07974422 authored by Filippo Rusconi's avatar Filippo Rusconi

New 1.9.1-5 version, fixing the IsoSpec++ build command line flags for riscv64...

New 1.9.1-5 version, fixing the IsoSpec++ build command line flags for riscv64 and remove the -march=native flag from normal build command line.
parent f4c1af2d
isospec (1.9.1-5) unstable; urgency=low
* patch: Fix the IsoSpec++ build command line flags for riscv64 as it did not
recognize the -march flag. I removed it, like I did before for m68k, for
example.
* patch: Remove the -march=native compile flag for IsoSpec++ as it is
considered erroneous to use if cross-builds are performed (Debian QA
error: E march-native).
-- Filippo Rusconi <lopippo@debian.org> Wed, 06 Mar 2019 17:23:44 +0100
isospec (1.9.1-4) unstable; urgency=low
* Remove -mtune -march build flags for the build of the C++ extension of the
......
......@@ -5,7 +5,7 @@ index 31a2f94..bb02505 100644
+++ b/IsoSpec++/Makefile
@@ -1,24 +1,71 @@
-OPTFLAGS=-O3 -march=native -mtune=native
+OPTFLAGS=-O3 -mtune=native -march=native
+OPTFLAGS=-O3 -mtune=native
+# Now fix specific cases
+
+DEB_ARCH_FLAGS=$(shell dpkg-architecture -q DEB_BUILD_ARCH)
......@@ -39,7 +39,7 @@ index 31a2f94..bb02505 100644
+endif
+
+ifeq (riscv64,$(DEB_ARCH_FLAGS))
+ OPTFLAGS=-O3 -march=rv64
+ OPTFLAGS=-O3
+endif
+
+ifeq (sh4,$(DEB_ARCH_FLAGS))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment