remove -march from cflags
authorElan Ruusamäe <glen@delfi.ee>
Mon, 12 Jan 2015 20:32:15 +0000 (22:32 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 12 Jan 2015 20:32:15 +0000 (22:32 +0200)
cross-gcc.spec

index f9c8ee7..ccbe755 100644 (file)
@@ -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.
 
This page took 0.172975 seconds and 4 git commands to generate.