summaryrefslogtreecommitdiff
path: root/contrib/crossrpms/common/common.add
blob: 2d62173388c7c41e726b3ed011c5ee17f5bd166c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# Please send bugfixes or comments to
# 	http://www.rtems.org/bugzilla
#

%if "%{_prefix}" != "/usr"
%define _prefix			@_prefix@
%define _infodir		%{_prefix}/info
%define _mandir			%{_prefix}/man
%endif

%ifos cygwin cygwin32 mingw mingw32
%define _exeext .exe
%else
%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