0
0
Fork 0
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:
Jason Volk 2020-05-21 08:58:42 -07:00
parent a57469fbd6
commit 6d14758a8a

View file

@ -32,6 +32,10 @@ AM_LDFLAGS = \
@EXTRA_LDFLAGS@ \
###
if CLANG
AM_CXXFLAGS += -fno-c++-static-destructors
endif
if LTO
AM_CXXFLAGS += -flto
endif