mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 20:06:40 +00:00
strat: fix clang build
This commit is contained in:
parent
c503629ac8
commit
f23f490cb4
3 changed files with 4 additions and 1 deletions
|
@ -67,6 +67,8 @@ endif
|
|||
|
||||
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)
|
||||
else ifeq ($(ATMOSPHERE_COMPILER_NAME),clang)
|
||||
export LDFLAGS = $(CXXFLAGS) $(CXXWRAPS) $(CXXREQUIRED) -Wl,-map,$(notdir $@.map)
|
||||
else
|
||||
export LDFLAGS = $(CXXFLAGS) $(CXXWRAPS) $(CXXREQUIRED) -Wl,-Map,$(notdir $@.map)
|
||||
endif
|
||||
|
|
|
@ -69,6 +69,7 @@ namespace ams::ncm {
|
|||
/* Set as dirty/not mapped. */
|
||||
m_is_dirty = false;
|
||||
m_is_mapped = false;
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
Result GetMappedMemoryImpl(MappedMemory *out, size_t offset, size_t size) {
|
||||
|
|
|
@ -53,10 +53,10 @@ namespace ams::pm::shell {
|
|||
Result BoostApplicationThreadResourceLimit() {
|
||||
return ::pmshellBoostApplicationThreadResourceLimit();
|
||||
}
|
||||
#endif
|
||||
|
||||
Result BoostSystemThreadResourceLimit() {
|
||||
return ::pmshellBoostSystemThreadResourceLimit();
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue