0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

Disable LTO for matrix.so due to issue w/ ld.gold for llvm-14.

This commit is contained in:
Jason Volk 2023-04-06 20:20:01 -07:00
parent 193d87ef76
commit 7501f983a6

View file

@ -41,7 +41,7 @@ endif
endif
if LTO
if CLANG
if CLANG15 # trouble with ld.gold <= llvm-14
AM_CXXFLAGS += -flto=thin
AM_CXXFLAGS += -fstrict-vtable-pointers
AM_CXXFLAGS += -fwhole-program-vtables