From: IOhannes m zmölnig Date: Mon, 2 May 2016 13:50:53 +0000 (+0200) Subject: Drop "-march=native" from Projucer build-flags X-Git-Tag: archive/raspbian/5.4.5_ds0-1+rpi1~1^2~213 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8dd23be7923e6a7ce018efe000d3d7341dd9ea58;p=juce.git 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 a65e1320..90d42f9e 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