diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-20 16:29:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-20 16:29:13 +0000 |
commit | de0575287ea3bc04addf60d5060657c957f0ef66 (patch) | |
tree | 2df08e52879459f419b9eaf1108170504539c416 /contrib | |
parent | 2009-01-06 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-de0575287ea3bc04addf60d5060657c957f0ef66.tar.bz2 |
Sync with CVS-HEAD.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/common/common.add | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/contrib/crossrpms/common/common.add b/contrib/crossrpms/common/common.add index 82b8243508..29b8debb8b 100644 --- a/contrib/crossrpms/common/common.add +++ b/contrib/crossrpms/common/common.add @@ -23,14 +23,22 @@ %ifos cygwin cygwin32 mingw mingw32 %define _exeext .exe +%define debug_package %{nil} +%define _libdir %{_exec_prefix}/lib %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 + +%ifos mingw mingw32 +%if %{defined _mingw32_cflags} +%define optflags %{_mingw32_cflags} +%else +%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields +%endif %endif %if "%{_build}" != "%{_host}" |