See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.
Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This
fixes it and properly enables LTO.
Signed-off-by: Andre Heider <a.heider@gmail.com>
this Makefile still used `CONFIG_GCC_USE_VERSION_*` to select various
compilation options, for GCC versions that are antiquated
convert to parsing the major from the `CONFIG_GCC_VERSION` which will
always exist and can also be used with range logic
intent seemed to be:
* `-flto` for "not =10" (or newer, probably)
* no additional options for "=10" (and newer, probably)
GCC 11 or 12 would likely revert to the default (not =10) option,
because 10 was the newest at the time, and 11 and 12 are "not 10"
unsure of what actually works, perhaps `-flto` works in all versions by
now (possibly early gcc 10 bug workaround?)
GCC 11 will have been using `-flto` anyway by the current logic and I
guess it must be working or there would have been changes
Signed-off-by: Tony Butler <spudz76@gmail.com>
Update to v1.3.33, the latest official release. This release is the
product of significant bug and security fixes due to GraphicsMagick
participating in Google's oss-fuzz project. This release fixes 7
issues detected by oss-fuzz as well as a number of issues reported
via the SourceForge bug tracker, or discovered via testing.
Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
GraphicsMagick is a fork of ImageMagick, licensed under the MIT license.
It requires less space and it is [reportedly] faster than ImageMagick.
GraphicsMagick's installation footprint is:
x86_64: 4.3 MB, and
brcm47xx-mips74k (mipsel_74kc): 3.7 MB.
The shared libraries occupy 2.2 MB (mipsel_74kc). The 90 GraphicsMagick's
modules occupy 2.5 MB. It may be possible to reduce the installation
footprint by introducing build parameters to control the selection of
modules. In view of the large number of modules and the possibility of
breakage due to module interdependencies or other reasons, such attempt
is not made at this time.
Signed-off-by: Val Kulkov <val.kulkov@gmail.com>