]> git.lyx.org Git - lyx.git/commit
Autotools: optimize with -Og when debugging
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 25 Apr 2024 10:30:48 +0000 (12:30 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 25 Apr 2024 10:30:48 +0000 (12:30 +0200)
commit623cc13b60bc7345ad8a45bb1a6ab95e16dba6b0
treec7b27c595dabfd7b526b992d552375e625389643
parentc013799887eb5c330f3cff4d51542028683fe1bb
Autotools: optimize with -Og when debugging

When debug (-g) is enabled (default when compiling a development
version), the existing -O optimization level is not correct, since
many variables are optimized out when debugging.

Use -Og instead, and condition not on compiling a development version,
but on --enable-debug. This is the same by default, but it more
precise in our case.
INSTALL
config/lyxinclude.m4