From: Peter Michael Green Date: Thu, 22 Mar 2018 23:56:01 +0000 (+0000) Subject: Commit Debian 3.0 (quilt) metadata X-Git-Tag: archive/raspbian/1.24.1+dfsg1-1+rpi1^0 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4371bd728deb323d6de6c8f9619fb6487ca3827b;p=rustc.git Commit Debian 3.0 (quilt) metadata [dgit (4.3) quilt-fixup] --- diff --git a/debian/patches/remove--march=native-from-srcbinaryencma.patch b/debian/patches/remove--march=native-from-srcbinaryencma.patch new file mode 100644 index 0000000000..e17988656a --- /dev/null +++ b/debian/patches/remove--march=native-from-srcbinaryencma.patch @@ -0,0 +1,19 @@ +From: Peter Michael Green +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") diff --git a/debian/patches/series b/debian/patches/series index faff564f4e..8edc39591a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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