Make some adjustments to the Mac builder for the Intel build to build
with `-intel`.
Remove unzip and zip and replace with 7zip.
Remove `-mtune=generic` from the base flags.
Remove flex and swig and use them from brew.
Add giflib, needed by libwebp.
Add the `no_autotools_cross_options` and
`remove_arch_flags_from_build_ninja` dist flags.
Set intel macOS target to 10.10 when on an ARM64 host.
Add a patch for glib to build with an older macOS.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Followup on 9d46f8e6 (build: fix Mac builder regression, 2025-07-20) to
add this `DIST_FLAGS` flag for bison as well, because it also uses this
header file.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Fix the Mac build, broken by 8c3d0f09 (build: fix regression in Mac
builder, 2025-07-19) due to the SDK paths conflicting with a gettext
header.
Fix this regression by introducing the `DIST_FLAGS` feature with a
`no_sdk_paths_in_flags` flag that `build_dist()` treats specially to
remove the include and lib SDK paths from `CPPFLAGS` and `LDFLAGS`.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Fix the Mac builder, broken by 3d4c03d0 (build: fix Mac M1 build on my
Mini, 2025-07-19). Remove `-lintl -liconv` from `LDFLAGS` because they
are not available before they are built.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Fix the Mac builder on my M1 Mini.
Update glib and get it building.
Add command line tools include and lib directories to flags.
Add a necessary clang flag to fix vbam build with CoreAudio.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Remove explicit include and framework paths which were only there to
work around hidden code inserted by the NSA to break our build.
Adjust CMake dist builds to support flags in the `CC` and `CXX`
environment variables, which CMake does not like.
Fix the error in the build environment block caused by using a glob by
using `find` with a shell expansion instead.
Set the build root include path with `-isystem` as the first element of
`CPPFLAGS`.
Remove the doxygen dist, as it should not be needed anymore.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Remove the outdated patch to fix the alert sound in the override in
`macOS/builder`, the working patch is in `core.sh`.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Add a patch to our build of wxWidgets for macOS to fix the alert sound
bug, as described here:
https://github.com/wxWidgets/wxWidgets/issues/25262#issuecomment-2745905462
. Add a macro to disable our workaround for this bug when a CMake option
indicating that this patch was applied is `TRUE`.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>