Commit Graph

4 Commits

Author SHA1 Message Date
Tony Butler
653ae2b005 graphicsmagick: refresh GCC options in Makefile
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>
2022-12-23 13:56:19 +08:00
lean
49b7495639 packages: merge upstream 2021-06-15 17:47:11 +08:00
Rosen Penev
3ded67d477 graphicsmagick: fix old CONFIG_DEPEND
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-05 11:38:42 +08:00
coolsnowwolf
c36ad692b4 packages: sync to new packages 2020-07-08 14:18:52 +08:00