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
RevLine 
[4c40577]1#
2# Please send bugfixes or comments to
[d82b3f1b]3#       http://www.rtems.org/bugzilla
[4c40577]4#
5
6%if "%{_prefix}" != "/usr"
[da3d358]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
[4c40577]22%endif
23
24%ifos cygwin cygwin32 mingw mingw32
25%define _exeext .exe
[da3d358]26%define debug_package           %{nil}
27%define _libdir                 %{_exec_prefix}/lib
[4c40577]28%else
29%define _exeext %{nil}
30%endif
[4fa25687]31
[1187fce8]32%ifos cygwin cygwin32
33%define optflags -O3 -pipe -march=i486 -funroll-loops
[da3d358]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
[1187fce8]42%endif
43
[0b77003]44%if "%{_build}" != "%{_host}"
[da3d358]45%define _host_rpmprefix %{_host}-
[0b77003]46%else
47%define _host_rpmprefix %{nil}
48%endif
49
Note: See TracBrowser for help on using the repository browser.