[packages/cross-gcc: 3/3] remove -march from cflags
glen
glen at pld-linux.org
Mon Jan 12 21:32:48 CET 2015
commit 826932825b7b63fbee1674dd216e0ca380a65794
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jan 12 22:32:15 2015 +0200
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.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cross-gcc.git/commitdiff/826932825b7b63fbee1674dd216e0ca380a65794
More information about the pld-cvs-commit
mailing list