Fix syntax error in mingw64_env macro

Patch by Akira TAGOH.

https://bugzilla.redhat.com/show_bug.cgi?id=831534
This commit is contained in:
Kalev Lember 2012-06-13 12:18:04 +03:00
parent 0cec28deb7
commit fcb9178d02
2 changed files with 5 additions and 2 deletions

View File

@ -67,7 +67,7 @@
unset _PREFIX; \
CC="${MINGW64_CC:-%mingw64_cc}"; export CC; \
CFLAGS="${MINGW64_CFLAGS:-%mingw64_cflags}"; export CFLAGS; \
CPPFLAGS="${MINGW64_CPPFLAGS:-%mingw64_cppflags}"; export CPPFLAGS \
CPPFLAGS="${MINGW64_CPPFLAGS:-%mingw64_cppflags}"; export CPPFLAGS; \
if [ -x "%{_bindir}/%{mingw64_cxx}" ]; then \
CXX="${MINGW64_CXX:-%mingw64_cxx}"; export CXX; \
CXXFLAGS="${MINGW64_CXXFLAGS:-%mingw64_cflags}"; export CXXFLAGS; \

View File

@ -2,7 +2,7 @@
Name: mingw-filesystem
Version: 95
Release: 10%{?dist}
Release: 11%{?dist}
Summary: MinGW cross compiler base filesystem and environment
Group: Development/Libraries
@ -246,6 +246,9 @@ install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mingw/
%changelog
* Wed Jun 13 2012 Kalev Lember <kalevlember@gmail.com> - 95-11
- Fix syntax error in mingw64_env macro, thanks to Akira TAGOH (#831534)
* Wed Jun 6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-10
- Prevent errors when the folders %%{mingw32_prefix} or %%{mingw64_prefix} are missing
- Fix parse error when -config files containing a . are available