mirror of
https://github.com/matrix-construct/construct
synced 2024-12-30 17:34:04 +01:00
ircd: Elide static destructor emissions w/ clang.
This commit is contained in:
parent
a57469fbd6
commit
6d14758a8a
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ AM_LDFLAGS = \
|
|||
@EXTRA_LDFLAGS@ \
|
||||
###
|
||||
|
||||
if CLANG
|
||||
AM_CXXFLAGS += -fno-c++-static-destructors
|
||||
endif
|
||||
|
||||
if LTO
|
||||
AM_CXXFLAGS += -flto
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue