Commits

ecsv committed f6c4bb7

Reenable link time optimization for the m64p related c files

Comments (0)

Files changed (1)

projects/unix/Makefile

 
 CXXFLAGS += $(CFLAGS)
 ifeq ($(LTO), 1)
+  CFLAGS += -flto -ffunction-sections -fdata-sections
   CXXFLAGS += -flto -ffunction-sections -fdata-sections
   LDFLAGS += -fuse-linker-plugin -Wl,--gc-sections $(CXXFLAGS)
 endif