[mingw-wine-gecko] Pass toolchain prefix during build
mooninite
mooninite at fedoraproject.org
Tue Jan 6 19:10:11 UTC 2015
commit 3a0390bdb4b52fe392cdfee68304aae9c4c5d91c
Author: Michael Cronenworth <mike at cchtml.com>
Date: Tue Jan 6 13:09:36 2015 -0600
Pass toolchain prefix during build
A compile test is performed and is currently using the native nm tool.
Passing the prefix will make the test use the MinGW nm tool.
mingw-wine-gecko.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/mingw-wine-gecko.spec b/mingw-wine-gecko.spec
index 6e8bbb4..d44338c 100644
--- a/mingw-wine-gecko.spec
+++ b/mingw-wine-gecko.spec
@@ -2,7 +2,7 @@
Name: mingw-wine-gecko
Version: 2.34
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Gecko library required for Wine
License: MPLv1.1 or GPLv2+ or LGPLv2+
@@ -78,9 +78,9 @@ echo "export CFLAGS=\"-DWINE_GECKO_SRC\"" >> wine/mozconfig-common
echo "export CXXFLAGS=\"\$CFLAGS -fpermissive\"" >> wine/mozconfig-common
# ... and build
-./wine/make_package --msi-package -win32
+TOOLCHAIN_PREFIX=i686-w64-mingw32- ./wine/make_package --msi-package -win32
-./wine/make_package --msi-package -win64
+TOOLCHAIN_PREFIX=x86_64-w64-mingw32- ./wine/make_package --msi-package -win64
%install
mkdir -p %{buildroot}%{_datadir}/wine/gecko
@@ -102,6 +102,9 @@ install -p -m 0644 wine_gecko-%{version}-x86_64/dist/wine_gecko-%{version}-x86_6
%{_datadir}/wine/gecko/wine_gecko-%{version}-x86_64.msi
%changelog
+* Tue Jan 06 2015 Michael Cronenworth <mike at cchtml.com> - 2.34-2
+- Pass toolchain prefix during build
+
* Tue Dec 09 2014 Michael Cronenworth <mike at cchtml.com> - 2.34-1
- version upgrade
More information about the scm-commits
mailing list