0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-09 13:38:55 +02:00

configure: Eliminate debug symbols in non-debug mode.

This commit is contained in:
Jason Volk 2022-06-11 15:16:53 -07:00
parent d59d1a8060
commit 7a423c94be

View file

@ -680,17 +680,6 @@ AM_COND_IF([DEBUG],
[
RB_VAR_PREPEND([CXXFLAGS], ["-ggdb"])
RB_VAR_PREPEND([CXXFLAGS], ["-g"])
], [
dnl Note debug symbols are still included in release-mode by default
dnl unless compact-mode is specified.
AM_COND_IF([COMPACT],
[
], [
dnl Note these flags are unreliable with LTO
RB_VAR_PREPEND([CXXFLAGS], ["-ggdb"])
RB_VAR_PREPEND([CXXFLAGS], ["-g"])
])
])
AM_COND_IF([DEBUG],