commits on Nov 12 2018
success

builder: more minor mingw cross fixes Do not defer evaluating build env variables in mingw-cross.sh, this interferes with switching them between host/target. In build_dist() adjust the LDFLAGS and LIBS after pre_build has run, because host/target env setting happens in pre_build and adjustments get lost.

rkitover authored to master

error

builder: fix openssl parallel make patch Fix sed regex for the openssl POST_CONFIGURE to work with the mac/BSD sed (anchor to beginning of line.)

rkitover authored to master

error

builder: fix quoting issues introduced in 37869441 In host_env/target_env/etc. functions, quote all variables values so that they pass through eval correctly.

rkitover authored to master

success

builder: msys2 fixes + misc improvements - Fix leading spaces in build env vars. - Pass -Dcc="$CC" to the c2man metaconfig, it tries to use cc on msys2 which fails. - Pass LDFLAGS to openssl make to fix link errors. - Change the host_env, target_env and related functions to output a list of commands for eval. - Add a --host-env flag to output the host env for cross build environments. - Ignore symlink failures when installing dists, symlinks fail on msys2 sometimes for some reason. - Put libicu in the list of both host and target dists only in mingw-cross, the host libicu does not build on msys2, and everything works fine without it. - Add -j1 to openssl make args to disable parallel builds for the msys2 and cygwin host builds, because they fail otherwise. - Add "-ldl -lcatgets -lws2_32" to libicu LDFLAGS for the target build, ws2_32 may be necessary for 32 bit builds.

rkitover authored to master

success

cmake: support linuxbrew mingw toolchain Add default linuxbrew mingw toolchain root paths to cmake mingw toolchain files.

rkitover authored to master

commits on Oct 11 2018
error

builder: support gentoo crossdev + misc fixes Support the gentoo crossdev mingw environment for the mingw cross builder: - For the cmake toolchains, add /usr/<arch>/usr to root paths, as this is the mingw root for crossdev. - -Wno-error=all no longer works with gcc 8.2, instead remove all -Werror flags in dist_post_configure(). - Also remove all -I/usr/include flags in dist_post_configure(). - Don't prepend ROOT/host/bin to the PATH globally, only in set_host_env(). This way the target config scripts are correctly found in PATH. - Bump openssl 1.0.2o -> 1.0.2p, cmake 3.10.3 -> 3.13.0-rc1, gd 2.2.4 -> 2.2.5 and glib 2.57.2 -> 2.58.1. - Add libicu unicode handling library, needed by some deps. Put into the list of dists that must be built for both the host and the target. Use a whole bunch of patches from MSys2 for it. - Make openssl build in parallel by using a sed script to prepend a + to the appropriate make rules. - Replace fontconfig EXTRA_LIBS with MAKE_ARGS: LIBS="-lintl -liconv" because these libs were being stripped out from LIBS and LDFLAGS. - Add V=1 VERBOSE=1 to all make invocations for extra verbosity (to see compile/link invocations.) - As a consequence, use dist_ninja_args() for ninja, it will still take options in DIST_MAKE_ARGS. - Add CONFIGURE_TYPE "cmakeninja" which is like the "cmake" type except with -G Ninja to use the ninja generator and built with ninja. Nothing uses this yet. - Fix dist_patch() output for already applied patches. - Add -L/usr/<arch>/usr/lib64 to CFLAGS/CXXFLAGS/OBJCXXFLAGS/LDFLAGS, because crossdev libpthreads.a is in that directory and it's not in gcc search paths. It cannot go into CPPFLAGS because those are used for windres invocations, and windres errors out with non-cpp flags. - Add -DMINGW_HAS_SECURE_API to all flags to fix a problem with the mingw headers in crossdev. - Add -lpthread to a default LIBS env var so that it's often linked last against any libraries that ma

rkitover authored to master

error

WIP

rkitover authored to gentoo-crossdev