libstrat: re-nolto files when compiling for windows-audit

This commit is contained in:
Michael Scire 2024-10-29 19:30:30 -07:00
parent 57e15f3622
commit e51e11a71c

View file

@ -154,12 +154,14 @@ 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)
# I do not remember why these had fno-lto, but it appears to # Audit builds fail when these have lto disabled.
# work without no-lto (2023/03/09), so I am disabling these. I may regret this later. # Noting 10/29/24:
#os_%.o: CXXFLAGS += -fno-lto # In member function '__ct ':
#fssystem_%.o: CXXFLAGS += -fno-lto # internal compiler error: in binds_to_current_def_p, at symtab.cc:2589
#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
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------