1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 13:52:21 +00:00

strat: fix clang build

This commit is contained in:
Michael Scire 2022-03-23 10:39:20 -07:00
parent c503629ac8
commit f23f490cb4
3 changed files with 4 additions and 1 deletions

View file

@ -67,6 +67,8 @@ endif
ifeq ($(ATMOSPHERE_BOARD),nx-hac-001) ifeq ($(ATMOSPHERE_BOARD),nx-hac-001)
export LDFLAGS = -specs=$(ATMOSPHERE_LIBRARIES_DIR)/libstratosphere/stratosphere.specs -specs=$(DEVKITPRO)/libnx/switch.specs $(CXXFLAGS) $(CXXWRAPS) $(CXXREQUIRED) -Wl,-Map,$(notdir $*.map) export LDFLAGS = -specs=$(ATMOSPHERE_LIBRARIES_DIR)/libstratosphere/stratosphere.specs -specs=$(DEVKITPRO)/libnx/switch.specs $(CXXFLAGS) $(CXXWRAPS) $(CXXREQUIRED) -Wl,-Map,$(notdir $*.map)
else ifeq ($(ATMOSPHERE_COMPILER_NAME),clang)
export LDFLAGS = $(CXXFLAGS) $(CXXWRAPS) $(CXXREQUIRED) -Wl,-map,$(notdir $@.map)
else else
export LDFLAGS = $(CXXFLAGS) $(CXXWRAPS) $(CXXREQUIRED) -Wl,-Map,$(notdir $@.map) export LDFLAGS = $(CXXFLAGS) $(CXXWRAPS) $(CXXREQUIRED) -Wl,-Map,$(notdir $@.map)
endif endif

View file

@ -69,6 +69,7 @@ namespace ams::ncm {
/* Set as dirty/not mapped. */ /* Set as dirty/not mapped. */
m_is_dirty = false; m_is_dirty = false;
m_is_mapped = false; m_is_mapped = false;
R_SUCCEED();
} }
Result GetMappedMemoryImpl(MappedMemory *out, size_t offset, size_t size) { Result GetMappedMemoryImpl(MappedMemory *out, size_t offset, size_t size) {

View file

@ -53,10 +53,10 @@ namespace ams::pm::shell {
Result BoostApplicationThreadResourceLimit() { Result BoostApplicationThreadResourceLimit() {
return ::pmshellBoostApplicationThreadResourceLimit(); return ::pmshellBoostApplicationThreadResourceLimit();
} }
#endif
Result BoostSystemThreadResourceLimit() { Result BoostSystemThreadResourceLimit() {
return ::pmshellBoostSystemThreadResourceLimit(); return ::pmshellBoostSystemThreadResourceLimit();
} }
#endif
} }