Commit Debian 3.0 (quilt) metadata archive/raspbian/1.24.1+dfsg1-1+rpi1 raspbian/1.24.1+dfsg1-1+rpi1
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 22 Mar 2018 23:56:01 +0000 (23:56 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 22 Mar 2018 23:56:01 +0000 (23:56 +0000)
[dgit (4.3) quilt-fixup]

debian/patches/remove--march=native-from-srcbinaryencma.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/remove--march=native-from-srcbinaryencma.patch b/debian/patches/remove--march=native-from-srcbinaryencma.patch
new file mode 100644 (file)
index 0000000..e179886
--- /dev/null
@@ -0,0 +1,19 @@
+From: Peter Michael Green <plugwash@raspbian.org>
+Date: Thu, 22 Mar 2018 23:44:06 +0000
+X-Dgit-Generated: 1.24.1+dfsg1-1+rpi1 a186e4e5762b6af08f55b0ea5ede6c03c8d6c8c4
+Subject: Remove -march=native from src/binaryen/CMakeLists.txt
+
+
+---
+
+--- rustc-1.24.1+dfsg1.orig/src/binaryen/CMakeLists.txt
++++ rustc-1.24.1+dfsg1/src/binaryen/CMakeLists.txt
+@@ -143,7 +143,7 @@ ELSE()
+       ADD_COMPILE_FLAG("-mfpmath=sse")
+     elseif(TARGET_ARCH STREQUAL "ARM")
+       # stub for ARM-specific instructions. GCC6 adds NEON with the below flags
+-      ADD_COMPILE_FLAG("-march=native")
++      #ADD_COMPILE_FLAG("-march=native")
+     endif ()
+   endif ()
+   ADD_COMPILE_FLAG("-Wall")
index faff564f4ed3e61397bc51f45c726564786796d3..8edc39591afd7f87c5255f226497dd2f1dec3c72 100644 (file)
@@ -41,3 +41,4 @@ d-armel-disable-kernel-helpers.patch
 
 # Work around for some porterboxes, keep this commented
 #d-host-duplicates.patch
+remove--march=native-from-srcbinaryencma.patch