commit 826932825b7b63fbee1674dd216e0ca380a65794
Author: Elan Ruusamäe <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit