source: rtems/contrib/crossrpms/common/common.add @ 9d076cc1

4.104.114.95
Last change on this file since 9d076cc1 was 9d076cc1, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/28/08 at 05:44:52

Add _host_rpmprefix.

  • Property mode set to 100644
File size: 572 bytes
RevLine 
[4c40577]1#
2# Please send bugfixes or comments to
[d82b3f1b]3#       http://www.rtems.org/bugzilla
[4c40577]4#
5
6%if "%{_prefix}" != "/usr"
[65e2634]7%define _prefix                 @_prefix@
[4c40577]8%define _infodir                %{_prefix}/info
9%define _mandir                 %{_prefix}/man
10%endif
11
12%ifos cygwin cygwin32 mingw mingw32
13%define _exeext .exe
14%else
15%define _exeext %{nil}
16%endif
[4fa25687]17
[28904d41]18%ifos cygwin cygwin32
19%define optflags -O3 -pipe -march=i486 -funroll-loops
[310132c]20%define _libdir                 %{_exec_prefix}/lib
[f9dff196]21%define debug_package           %{nil}
[28904d41]22%endif
23
[9d076cc1]24%if "%{_build}" != "%{_host}"
25%define _host_rpmprefix @rpmprefix@%{_host}-
26%else
27%define _host_rpmprefix %{nil}
28%endif
29
Note: See TracBrowser for help on using the repository browser.