[rtems-crossrpms commit] Update mingw cflags.
Ralf Corsepius
ralf at rtems.org
Thu May 8 11:05:00 UTC 2014
Module: rtems-crossrpms
Branch: master
Commit: ffb177ec8fd72f51aed18d7f1012c34fc2197ee8
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=ffb177ec8fd72f51aed18d7f1012c34fc2197ee8
Author: Ralf Corsépius <ralf.corsepius at rtems.org>
Date: Mon Feb 24 10:48:13 2014 +0100
Update mingw cflags.
---
common/common.add | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/common/common.add b/common/common.add
index 70e3ad0..0409aa6 100644
--- a/common/common.add
+++ b/common/common.add
@@ -41,7 +41,15 @@
%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
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4
+%endif
+%endif
+
+%ifos mingw mingw64
+%if %{defined _mingw64_cflags}
+%define optflags %{_mingw64_cflags}
+%else
+%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4
%endif
%endif
More information about the vc
mailing list