[rtems-crossrpms commit] Add x86_64-pc-cygwin optflags.
Ralf Corsepius
ralf at rtems.org
Thu May 8 11:04:59 UTC 2014
Module: rtems-crossrpms
Branch: master
Commit: e585ef2a75cb27067aae1e4313122204e314fbdd
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=e585ef2a75cb27067aae1e4313122204e314fbdd
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Sat Feb 8 07:38:31 2014 +0100
Add x86_64-pc-cygwin optflags.
---
common/common.add | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/common/common.add b/common/common.add
index a5211ac..70e3ad0 100644
--- a/common/common.add
+++ b/common/common.add
@@ -30,8 +30,12 @@
%endif
%ifos cygwin cygwin32
+%if "%{_host}" == "x86_64-pc-cygwin"
+%define optflags -O2 -pipe
+%else
%define optflags -O3 -pipe -march=i486 -funroll-loops
%endif
+%endif
%ifos mingw mingw32
%if %{defined _mingw32_cflags}
More information about the vc
mailing list