[Debian GNUstep maintainers] Misc issues with gnustep-base

Eric Heintzmann heintzmann.eric at free.fr
Sun Oct 22 20:29:31 UTC 2017



Le 22/10/2017 à 18:32, Yavor Doganov a écrit :
> Unrelated suggestion: I propose to add this snippet to
> gnustep-make/debian/addons/config.mk:
>
> ,----
> | # Optimization is handled automatically by debhelper but
> | # gnustep-make's debug=yes adds -DDEBUG -fno-omit-frame-pointer.
> | ifndef optim
> | ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
> | optim := debug=yes
> | endif
> | endif
> `----
>
> That way, packages including config.mk can delete it from their own
> debian/rules and take advantage of a uniform noopt handling.
>
Just a question, debian policy says:

noopt
    The presence of this tag means that the package should be compiled
with a minimum of optimization. For C programs, it is best to add -O0 to
CFLAGS (although this is usually the default).
    Some programs might fail to build or run at this level of
optimization; it may be necessary to use -O1, for example.

Why enabling debug fo GNUstep when noopt is present ?



More information about the pkg-GNUstep-maintainers mailing list