Package Details: mingw-w64-meson 1-26

Git Clone URL: https://aur.archlinux.org/mingw-w64-meson.git (read-only, click to copy)
Package Base: mingw-w64-meson
Description: Meson wrapper for MinGW (mingw-w64)
Upstream URL: http://fedoraproject.org/wiki/MinGW
Licenses: GPL
Submitter: drakkan
Maintainer: Martchus
Last Packager: Martchus
Votes: 8
Popularity: 0.000000
First Submitted: 2018-04-23 10:40 (UTC)
Last Updated: 2025-01-20 00:19 (UTC)

Dependencies (5)

Required by (55)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

xantares commented on 2019-12-02 20:53 (UTC)

hello, can you use mingw-w64-environment ?

just do "source mingw-env @TRIPLE@" at beginning of meson-mingw-wrapper instead of setting all the flags manually, see /usr/bin/mingw-env.sh

xan.

xantares commented on 2019-11-17 11:56 (UTC)

one last thing, can you add the "-Wl,-O1,--sort-common,--as-needed" linker flags that are used in mingw-w64-configure and mingw-w64-cmake ?

xantares commented on 2019-11-17 11:43 (UTC)

thanks!

can you add mingw-w64-cmake as optdepends ?

xantares commented on 2019-11-17 10:47 (UTC) (edited on 2019-11-17 10:55 (UTC) by xantares)

could you add the cmake entry in toolchain-mingw.meson under [binaries] ?

cmake = '@TRIPLE@-cmake'

then mingw-w64-cmake can be added to optdepends

this is needed for mingw-w64-mesa if I want to switch to meson

rodrigo21 commented on 2019-11-16 22:28 (UTC)

Please add c_link_args = ['-fstack-protector'] and cpp_link_args = ['-fstack-protector'] under [properties] or some package will not build.

xantares commented on 2019-11-11 16:47 (UTC)

you'll probably want to add -fstack-protector to LDFLAGS with the new crt

drakkan commented on 2019-01-05 12:06 (UTC)

@xantares, ok I'll do some test with these flags

c_args = ['-D_FORTIFY_SOURCE=2', '-fno-plt', '-fexceptions', '--param=ssp-buffer-size=4']
cpp_args = ['-D_FORTIFY_SOURCE=2', '-fno-plt', '-fexceptions', '--param=ssp-buffer-size=4']

and I'll push the changes if all is fine.

Please note that with meson the flags -O2 -g ecc.. are added by buildtype:

  • buildtype release will add -O3
  • buildtype debug will add -O0 -g

xantares commented on 2019-01-05 09:34 (UTC)

hi, you may want to update the flags here to add "fno-plt" like in w64-cmake

drakkan commented on 2018-12-22 18:22 (UTC)

@Martchus, we could add a new package (for example something like mingw-w64-env) that defines default mingw env vars and then modify mingw meson/cmake/configure to read these vars from the file provided by that package.