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:
parent
c503629ac8
commit
f23f490cb4
3 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue