[mingw-filesystem] Support the environment variables MINGW32_MAKE_ARGS and MINGW64_MAKE_ARGS

Erik van Pienbroek epienbro at fedoraproject.org
Sun Dec 16 22:58:01 UTC 2012


commit c277ca32f16f8e4b6ee9490134e043ef7fe74140
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Sun Dec 16 23:56:55 2012 +0100

    Support the environment variables MINGW32_MAKE_ARGS and MINGW64_MAKE_ARGS
    
    These environment variables can be used to provide additional
    target-specific arguments when using the %mingw_make macro

 macros.mingw          |   20 ++++++++++----------
 mingw-filesystem.spec |    9 +++++++--
 2 files changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/macros.mingw b/macros.mingw
index d28abc1..1f12836 100644
--- a/macros.mingw
+++ b/macros.mingw
@@ -54,16 +54,16 @@ popd                                                   \
 }                                                      \
 run_mingw_configure
 
-%mingw_make                                            \
-run_mingw_make()                                       \
-{                                                      \
-%if 0%{?mingw_build_win32} == 1                        \
-make -C build_win32$MINGW_BUILDDIR_SUFFIX "$@"         \
-%endif                                                 \
-%if 0%{?mingw_build_win64} == 1                        \
-make -C build_win64$MINGW_BUILDDIR_SUFFIX "$@"         \
-%endif                                                 \
-}                                                      \
+%mingw_make                                                         \
+run_mingw_make()                                                    \
+{                                                                   \
+%if 0%{?mingw_build_win32} == 1                                     \
+make -C build_win32$MINGW_BUILDDIR_SUFFIX "$@" $MINGW32_MAKE_ARGS   \
+%endif                                                              \
+%if 0%{?mingw_build_win64} == 1                                     \
+make -C build_win64$MINGW_BUILDDIR_SUFFIX "$@" $MINGW64_MAKE_ARGS   \
+%endif                                                              \
+}                                                                   \
 run_mingw_make
 
 %mingw_cmake                                           \
diff --git a/mingw-filesystem.spec b/mingw-filesystem.spec
index 8e1624c..9284d67 100644
--- a/mingw-filesystem.spec
+++ b/mingw-filesystem.spec
@@ -1,8 +1,8 @@
 %global debug_package %{nil}
 
 Name:           mingw-filesystem
-Version:        96
-Release:        3%{?dist}
+Version:        97
+Release:        1%{?dist}
 Summary:        MinGW cross compiler base filesystem and environment
 
 Group:          Development/Libraries
@@ -248,6 +248,11 @@ install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mingw/
 
 
 %changelog
+* Sun Dec 16 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 97-1
+- Added support for using the environment variables MINGW32_MAKE_ARGS and
+  MINGW64_MAKE_ARGS. These environment variables can be used to  provide
+  additional target-specific arguments when using the %%mingw_make macro
+
 * Mon Dec  3 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 96-3
 - Added support for RHEL6
 


More information about the scm-commits mailing list