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:
parent
d59d1a8060
commit
7a423c94be
11
configure.ac
11
configure.ac
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue