kockie69 / SquinkyVCV-main

GNU General Public License v3.0
22 stars 12 forks source link

elimination of link time optimization will slow things down a little #5

Closed squinkylabs closed 2 years ago

squinkylabs commented 2 years ago

These flags did make a noticeable difference in the efficiency of Kitchen Sink on windows. I don't know if I checked it in turned off or you did.

-flto

FLAGS += -finline-limit=500000 -finline-functions-called-once -flto

LDFLAGS += -flto

FLAGS += LDFLAGS +=

kockie69 commented 2 years ago

Linker error was caused by -O0 in compiler. By switching back to the standard -O3 this was fixed.

squinkylabs commented 2 years ago

ah! I must have checked in some debugging code by mistake. thanks!