--- src/Makefile.am 2021-07-14 05:21:15.000000000 +0800 +++ src/Makefile.am 2024-09-26 21:48:00.000000000 +0800 @@ -9,7 +9,7 @@ # XXX: magic option that will remove all unused symbols # (defined by platform-generic.c). if PROCENV_PLATFORM_DARWIN -AM_CFLAGS += -flto +# AM_CFLAGS += -flto else AM_CFLAGS += -fdata-sections -ffunction-sections endif @@ -33,7 +33,7 @@ # XXX: unused symbol removal magic - part 2 if PROCENV_PLATFORM_DARWIN -procenv_LDFLAGS = -flto +# procenv_LDFLAGS = -flto else procenv_LDFLAGS = -Wl,--gc-sections endif