mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 22:41:12 +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@ \
|
@EXTRA_LDFLAGS@ \
|
||||||
###
|
###
|
||||||
|
|
||||||
|
if CLANG
|
||||||
|
AM_CXXFLAGS += -fno-c++-static-destructors
|
||||||
|
endif
|
||||||
|
|
||||||
if LTO
|
if LTO
|
||||||
AM_CXXFLAGS += -flto
|
AM_CXXFLAGS += -flto
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue