[SCM] juce/master: Drop "-march=native" from Projucer build-flags

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Mon May 2 14:12:08 UTC 2016


The following commit has been merged in the master branch:
commit 8dd23be7923e6a7ce018efe000d3d7341dd9ea58
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Mon May 2 15:50:53 2016 +0200

    Drop "-march=native" from Projucer build-flags
    
    fixes FTBFS on a number of archs.

diff --git a/debian/patches/debian_make-projucer.patch b/debian/patches/debian_make-projucer.patch
index a65e132..90d42f9 100644
--- a/debian/patches/debian_make-projucer.patch
+++ b/debian/patches/debian_make-projucer.patch
@@ -15,8 +15,12 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  ifeq ($(CONFIG),Debug)
    BINDIR := build
    LIBDIR := build
-@@ -18,13 +20,13 @@
-     TARGET_ARCH := -march=native
+@@ -15,16 +17,16 @@
+   OUTDIR := build
+ 
+   ifeq ($(TARGET_ARCH),)
+-    TARGET_ARCH := -march=native
++    TARGET_ARCH :=
    endif
  
 -  CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_6D53C8B4=1" -D "JUCE_APP_VERSION=4.2.1" -D "JUCE_APP_VERSION_HEX=0x40201" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode -I ../../../../modules
@@ -34,8 +38,12 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
    CLEANCMD = rm -rf $(OUTDIR)/$(TARGET) $(OBJDIR)
  endif
  
-@@ -38,13 +40,13 @@
-     TARGET_ARCH := -march=native
+@@ -35,16 +37,16 @@
+   OUTDIR := build
+ 
+   ifeq ($(TARGET_ARCH),)
+-    TARGET_ARCH := -march=native
++    TARGET_ARCH :=
    endif
  
 -  CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_6D53C8B4=1" -D "JUCE_APP_VERSION=4.2.1" -D "JUCE_APP_VERSION_HEX=0x40201" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode -I ../../../../modules

-- 
juce packaging



More information about the pkg-multimedia-commits mailing list