[osmo-trx] 01/01: Add patch for removing -march=native

Ruben Undheim rubund-guest at moszumanska.debian.org
Wed Oct 21 06:55:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository osmo-trx.

commit 86d1a88c68212b862a90e2262d67c420f9b2061d
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Wed Oct 21 07:51:48 2015 +0200

    Add patch for removing -march=native
---
 debian/changelog                        |  7 +++++++
 debian/patches/02_no_march_native.patch | 14 ++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3f4d956..e130203 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+osmo-trx (0~20150325gitf147b17+dfsg-2) unstable; urgency=medium
+
+  * debian/patches/02_no_march_native.patch:
+    - Make sure that the option -march=native is not set when building.
+
+ -- Ruben Undheim <ruben.undheim at gmail.com>  Wed, 21 Oct 2015 07:53:00 +0200
+
 osmo-trx (0~20150325gitf147b17+dfsg-1) unstable; urgency=low
 
   * Initial release (Closes: #777303)
diff --git a/debian/patches/02_no_march_native.patch b/debian/patches/02_no_march_native.patch
new file mode 100644
index 0000000..cc14741
--- /dev/null
+++ b/debian/patches/02_no_march_native.patch
@@ -0,0 +1,14 @@
+Description: -march=native will cause problem since it may optimize
+ for the build computer. Remove option. 
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+Index: osmo-trx/Transceiver52M/x86/Makefile.am
+===================================================================
+--- osmo-trx.orig/Transceiver52M/x86/Makefile.am	2015-10-14 21:54:27.580391598 +0200
++++ osmo-trx/Transceiver52M/x86/Makefile.am	2015-10-21 08:50:23.905189154 +0200
+@@ -1,5 +1,5 @@
+ if !ARCH_ARM
+-AM_CFLAGS = -Wall -std=gnu99 -march=native -I../common
++AM_CFLAGS = -Wall -std=gnu99 -I../common
+ 
+ noinst_LTLIBRARIES = libarch.la
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 50f9e7e..7575b27 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_not_embed_sqlite.patch
+02_no_march_native.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/osmo-trx.git



More information about the debian-science-commits mailing list