[SCM] foo-yc20/master: Get rid of Intel optimizations and -m{tune, arch}=native flags (Closes: #649461).

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Nov 29 07:32:57 UTC 2011


The following commit has been merged in the master branch:
commit 6d29ced66732a628b412178201aeabc114ac0951
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Nov 29 08:32:01 2011 +0100

    Get rid of Intel optimizations and -m{tune,arch}=native flags (Closes: #649461).

diff --git a/debian/patches/0002-makefile.patch b/debian/patches/0002-makefile.patch
index dfb370a..c8e9eac 100644
--- a/debian/patches/0002-makefile.patch
+++ b/debian/patches/0002-makefile.patch
@@ -1,12 +1,22 @@
 Description: Pass LDFLAGS to the linker.
+ Remove -m{tune,arch}=native flag (bug#649461).
 Author: Alessio Treglia <alessio at debian.org>
 Forwarded: no
 ---
- Makefile |    8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
+ Makefile |   10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
 
 --- foo-yc20.orig/Makefile
 +++ foo-yc20/Makefile
+@@ -17,7 +17,7 @@ ifeq ($(CFLAGS),)
+ ifeq ($(shell uname), Darwin)
+ CFLAGS=-O3 -ffast-math -ftree-vectorize -arch ppc -arch i386 -arch x86_64
+ else
+-CFLAGS=-O3 -mtune=native -march=native -mfpmath=sse -ffast-math -ftree-vectorize 
++CFLAGS=-O2 -ffast-math -ftree-vectorize
+ endif
+ endif
+ 
 @@ -43,25 +43,25 @@ lv2: $(LV2_PLUGIN) $(LV2_UI)
  OBJS_FOO_YC20=src/foo-yc20.o src/configuration.o src/yc20-jack.o src/main-gui.o src/foo-yc20-ui.o src/yc20-base-ui.o $(WIN32_RC)
  

-- 
foo-yc20 packaging



More information about the pkg-multimedia-commits mailing list