windows: re-enable lto for os/fs libraries

This commit is contained in:
Michael Scire 2023-03-09 23:46:31 -07:00
parent a8df400825
commit cd9b173318

View file

@ -154,10 +154,12 @@ spl_secure_monitor_api.os.generic.o: CXXFLAGS += -I$(ATMOSPHERE_LIBRARIES_DIR)/l
fs_id_string_impl.os.generic.o: CXXFLAGS += -I$(ATMOSPHERE_LIBRARIES_DIR)/libexosphere/include fs_id_string_impl.os.generic.o: CXXFLAGS += -I$(ATMOSPHERE_LIBRARIES_DIR)/libexosphere/include
ifeq ($(ATMOSPHERE_OS_NAME),windows) ifeq ($(ATMOSPHERE_OS_NAME),windows)
os_%.o: CXXFLAGS += -fno-lto # I do not remember why these had fno-lto, but it appears to
fssystem_%.o: CXXFLAGS += -fno-lto # work without no-lto (2023/03/09), so I am disabling these. I may regret this later.
fssrv_%.o: CXXFLAGS += -fno-lto #os_%.o: CXXFLAGS += -fno-lto
fs_%.o: CXXFLAGS += -fno-lto #fssystem_%.o: CXXFLAGS += -fno-lto
#fssrv_%.o: CXXFLAGS += -fno-lto
#fs_%.o: CXXFLAGS += -fno-lto
endif endif
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------