From 826932825b7b63fbee1674dd216e0ca380a65794 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 12 Jan 2015 22:32:15 +0200 Subject: [PATCH] remove -march from cflags --- cross-gcc.spec | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.43.0