commits on Aug 10 2018
success

msys2: don't try to link msys librt and libpthread In cmake on Win32, don't try to find librt or libpthread using find_library(), and on mingw just include -lpthread. For some reason the msys versions of librt and libpthread were being picked up when find_library() was being used.

rkitover authored to master

success

disable gcc stack protector, segfault on 8.2.0 Make gcc -fstack-protector-strong and associated options controlled by the cmake option ENABLE_SSP which defaults to OFF. This option causes a segfault on startup with gcc 8.2.0.

rkitover authored to master

success

fix cmake regression introduced in bfe21aee Before calling list(REMOVE_ITEM ...) check if the variable exists, if it doesn't cmake throws an error.

rkitover authored to master

success

remove -fpermissive compiler flag Remove -fpermissive from the list of flags passed to gcc and clang. Remove -fpermissive from the cxxflags from wxWidgets config as well. When checking wxWidgets ABI compatibility version, temporarily add -fpermissive to compiler flags on Win32 because minhook requires it.

rkitover authored to master

success

support mac-hosted mingw builds, misc. fixes - Add the cross root from the mingw-w64 mac brew to the cmake toolchain files. - Remove strerror_r/strerror_s from ConfigManager.cpp because the mingw-w64 brew does not support strerror_s for some reason. - Strip the vbam executable from the builder script in the build_project phase. - Change the bzip2 URL to the github mirror because the bzip.org domain expired. - Add libuuid as it's required by the new fontconfig, use the mingw version for mingw builds, for mingw also set UUID_LIBS to '-luuid_mingw -luuid' in mingw.sh for fontconfig, the mingw version is called uuid_mingw because uuid is a core win32 library. - Lower glib version to 2.57.2 stable. - Update wxwidgets version to current master sha. - Fix a bug in flex-2.5.3 post_build where it tries to build flex current but flex has been removed, and it was just rebuilding 2.5.3. - Fix "aggressive" relocation and the relocation of .l[ao] and .pc files in install_dist to ignore /usr/local, and only match /usr. - Add a "project" pre_build and post_build hooks. - Add getopt to host-only dists in mingw-cross.sh. - Use perl instead of readlink -f to get the absolute path of the cmake toolchain files in mingw-cross.sh, as readlink -f is linux-only. - In mingw-cross.sh, replace the glib post_build to rebuild gettext-target instead of gettext --without-included-glib. - Add overridable functions set_host_env_hook and unset_host_env_hook in mingw.sh to override in other scripts, in this case mac-cross-builder. - Update mingw glib patches to current fedora versions. - Add tools/win/mac-cross-builder script to build mingw windows binaries on mac, it borrows some necessary parts from the mac native builder for host dists, and inherits from mingw-cross.sh. TODO: currently the resulting mac-built binary segfaults due to gcc 8.2.0, just as the msys2-built binary does, this is a separate issue.

rkitover authored to master