source: rtems/contrib/crossrpms/common/common.add @ da3d358

4.8
Last change on this file since da3d358 was da3d358, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 21, 2009 at 12:26:01 PM

Sync with rtems-4.10.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1#
2# Please send bugfixes or comments to
3#       http://www.rtems.org/bugzilla
4#
5
6%if "%{_prefix}" != "/usr"
7%define _prefix                 @_prefix@
8%define _exec_prefix            %{_prefix}
9%define _bindir                 %{_exec_prefix}/bin
10%define _sbindir                %{_exec_prefix}/sbin
11%define _libexecdir             %{_exec_prefix}/libexec
12%define _datarootdir            %{_prefix}/share
13%define _datadir                %{_datarootdir}
14%define _sysconfdir             %{_prefix}/etc
15%define _sharedstatedir         %{_prefix}/com
16%define _localstatedir          %{_prefix}/var
17%define _includedir             %{_prefix}/include
18%define _libdir                 %{_exec_prefix}/%{_lib}
19%define _mandir                 %{_datarootdir}/man
20%define _infodir                %{_datarootdir}/info
21%define _localedir              %{_datarootdir}/locale
22%endif
23
24%ifos cygwin cygwin32 mingw mingw32
25%define _exeext .exe
26%define debug_package           %{nil}
27%define _libdir                 %{_exec_prefix}/lib
28%else
29%define _exeext %{nil}
30%endif
31
32%ifos cygwin cygwin32
33%define optflags -O3 -pipe -march=i486 -funroll-loops
34%endif
35
36%ifos mingw mingw32
37%if %{defined _mingw32_cflags}
38%define optflags %{_mingw32_cflags}
39%else
40%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
41%endif
42%endif
43
44%if "%{_build}" != "%{_host}"
45%define _host_rpmprefix %{_host}-
46%else
47%define _host_rpmprefix %{nil}
48%endif
49
Note: See TracBrowser for help on using the repository browser.