]> git.pld-linux.org Git - packages/cross-gcc.git/commitdiff
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 f9c8ee7defaf69d803fcd9ce8b913a131e18ee59..ccbe755ac85a8d25b00227d0a543d9d0b45df22e 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.061446 seconds and 4 git commands to generate.