From: Elan Ruusamäe Date: Mon, 12 Jan 2015 20:32:15 +0000 (+0200) Subject: remove -march from cflags X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcross-gcc.git;a=commitdiff_plain;h=826932825b7b63fbee1674dd216e0ca380a65794 remove -march from cflags --- diff --git a/cross-gcc.spec b/cross-gcc.spec index f9c8ee7..ccbe755 100644 --- a/cross-gcc.spec +++ b/cross-gcc.spec @@ -146,6 +146,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # receiving non constant format strings %define Werror_cflags %{nil} +# -march= from host is invalid when configuring targets +%define filterout_c -march=.* +%define filterout_cxx -march=.* + %description Cross-build GNU C compiler collection.