Commit Graph

92 Commits

Author SHA1 Message Date
Sandro Mani
f9734e4bcc Also set FCFLAGS in mingw-env 2022-01-22 21:55:50 +01:00
Fedora Release Engineering
40a9ee9840 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 19:22:01 +00:00
Sandro Mani
9257d2c01d Add Boost_ARCHITECTURE to cmake toolchain file 2022-01-09 09:19:07 +01:00
Sandro Mani
f9b54363f1 Correctly test whether CC/CXX/FC env-vars are set in cmake toolchain config 2022-01-08 19:33:47 +01:00
Sandro Mani
ea5c8fc32e Preserve CC/CXX/FC/RC set by ENV if set in cmake toolchain files 2021-12-15 22:21:47 +01:00
Sandro Mani
e2f6d80752 Fix up debug dirs ownership 2021-11-20 08:28:21 +01:00
Sandro Mani
5788afad0b Use relative paths in cmake/meson toolchain files to make ccache work if available 2021-11-17 18:30:23 +01:00
Sandro Mani
91f2255bd3 Autogenerate python dependency, also capture pc, pyd for dependency generation 2021-09-21 11:03:04 +02:00
Sandro Mani
0a51e8a6f9 Tweak cmake macro to allow overriding INCLUDE_INSTALL_DIR, fix double passed via mingw-scripts 2021-09-02 00:36:00 +02:00
Sandro Mani
f6cc2b6d75 Don't use deprecated external dependency generator 2021-08-29 23:04:14 +02:00
Sandro Mani
472b833cfe Fix file listed twice 2021-08-29 23:03:04 +02:00
Sandro Mani
6c5a8d2258 Store debug files below /usr/lib/debug 2021-08-27 00:22:40 +02:00
Fedora Release Engineering
a2f99cbf2d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 14:24:08 +00:00
Sandro Mani
4a7f3f602c Fix packaing man page for mingw-pkgconfig 2021-06-13 09:21:05 +02:00
596cb8d010 Use pkgconf for pkgconfig
PkgConf supports pretending to be pkgconfig(1) for cross-target
toolchains through the use of personality files.

By using this method, we can drop mingw-pkg-config and consistently
use native tools for discovery and toolchain configuration for
cross-compilation.
2021-06-12 22:00:09 -04:00
Sandro Mani
f88d07b914 Allow overriding CFLAGS/CXXFLAGS/LDFLAGS for %%mingw_meson 2021-06-07 14:17:48 +02:00
Sandro Mani
9e2af70416 Filter Windows API umbrella libraries from requires 2021-02-01 21:59:11 +01:00
Fedora Release Engineering
3aae864702 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 19:53:52 +00:00
Tom Stellard
93b1a51945 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-13 03:20:02 +00:00
Sandro Mani
b733b32514 Fix changelog order 2020-07-27 16:13:34 +02:00
Sandro Mani
8b144a44b6 Add -lssp to LDFLAGS 2020-07-27 16:10:52 +02:00
Sandro Mani
3e5c7d77dd Add -fstack-protector to LDFLAGS 2020-07-19 20:13:57 +02:00
Daniel P. Berrangé
6de060b5d3 Add meson hint for libgcrypt-config on mingw cross builds
https://bugzilla.redhat.com/show_bug.cgi?id=1856446

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-07-14 10:32:22 +01:00
Sandro Mani
717f2a929b Add %mingw_make_build and %mingw_make_install 2020-05-23 14:00:10 +02:00
Sandro Mani
3ad1f950f2 Fix mingw_meson resulting in ERROR: Unable to determine dynamic linker 2020-05-22 21:44:20 +02:00
David Woodhouse
64521a8bdb Quote sequences to tr to avoid the shell handling them (#1830233) 2020-05-01 09:55:55 +01:00
Fedora Release Engineering
3ca816d704 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 12:54:25 +00:00
Marc-André Lureau
32c17a2e88 Add redhat-rpm-config dependency. Fixes rhbz#1769792
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2019-11-07 17:53:04 +04:00
Sandro Mani
782b104283 Add dlltool to toolchain-mingw{32,64}.meson 2019-08-29 23:09:34 +02:00
Sandro Mani
c3d26e7c6d Fix mingw-find-debuginfo.sh to pick up strippable binaries also in %%{_prefix}/%%{mingw32,64_target} 2019-08-12 13:27:48 +02:00
Fedora Release Engineering
cfb1eb6575 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 16:41:07 +00:00
Fabiano Fidêncio
ff5a0b892e Add %%mingw_ninja_install macro
In order to make the life of the mingw packages easier, let's add a
%%mingw_ninja_install macro that will run `ninja -C install` in the
proper directory (the one configured using %%mingw_meson macro), passing
the correct DESTDIR to ninja.

In case it's not done, po files are not correctly installed and
%%mingw_find_lang macro will fail.

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
2019-06-19 14:16:19 +02:00
Sandro Mani
2fdaf5a89a Revert "Remove redundant in mingw_cmake and mingw_meson"
It causes no arguments at all to be passed to cmake
2019-02-14 21:42:43 +01:00
Elliott Sales de Andrade
ed40f14dd0 Remove redundant $@ in mingw_cmake and mingw_meson.
$@ is not used by the RPM macro _in RPM_ since it is executed as a line
by itself, not a script or function.

There's already a $@ in the mingw-scripts.sh file, so when expanded from
the macro, the script contains two $@, sending redundant arguments to
cmake and meson.
2019-02-05 18:14:32 -05:00
Fedora Release Engineering
7b85d868c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 10:28:11 +00:00
Igor Gnatenko
e467da62ae Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:16 +01:00
Fedora Release Engineering
59fb5dec7b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 10:20:33 +00:00
Elliott Sales de Andrade
bd0be208c7 Add macros and cross-file for meson and ninja. 2018-04-20 03:37:41 -04:00
Fedora Release Engineering
7147464c6a - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 02:03:26 +00:00
Sandro Mani
9a9de1654b Add %mingw_nm macro 2017-09-10 13:51:18 +02:00
Sandro Mani
c9e430bd5a Also extract debuginfo data from pyd binaries 2017-09-09 10:07:18 +02:00
Fedora Release Engineering
3b7a52cee2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 21:32:13 +00:00
Fedora Release Engineering
04eab395a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 21:03:25 +00:00
Erik van Pienbroek
7bb5a7f841 Regenerated list of default win32 DLL's 2016-05-08 13:01:21 +02:00
Erik van Pienbroek
5d10b97d99 Update config.{guess,sub} in %%mingw_configure (#1288256) 2016-05-08 12:58:13 +02:00
Fedora Release Engineering
4d9f176480 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 08:06:59 +00:00
Dennis Gilmore
968ec71af8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 20:15:25 +00:00
Erik van Pienbroek
08bbe2dfa0 Removed old _mingw32 macros which were deprecated since Fedora 17 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
64394b95aa Accept empty MINGW{32,64}_{C,CPP,CXX}FLAGS environment variables 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
2031da5ebb Don't set LIB_INSTALL_DIR any more in the CMake macros as it breaks CPack (RHBZ #1152696) 2015-04-11 19:07:25 +02:00