summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/common/common.add
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/crossrpms/common/common.add')
-rw-r--r--contrib/crossrpms/common/common.add12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/crossrpms/common/common.add b/contrib/crossrpms/common/common.add
index c0f8ab01e3..2d62173388 100644
--- a/contrib/crossrpms/common/common.add
+++ b/contrib/crossrpms/common/common.add
@@ -15,3 +15,15 @@
%define _exeext %{nil}
%endif
+%ifos cygwin cygwin32
+%define optflags -O3 -pipe -march=i486 -funroll-loops
+%define _libdir %{_exec_prefix}/lib
+%define debug_package %{nil}
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_rpmprefix @rpmprefix@%{_host}-
+%else
+%define _host_rpmprefix %{nil}
+%endif
+