mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
a
This commit is contained in:
parent
ec8427770a
commit
fbe6866b9a
7 changed files with 22 additions and 22 deletions
|
|
@ -137,7 +137,7 @@ Modloader.use_default_save_path=false
|
||||||
pancakes=false
|
pancakes=false
|
||||||
|
|
||||||
# SecurityManager - component that uses OS security mechanisms to sandbox,
|
# SecurityManager - component that uses OS security mechanisms to sandbox,
|
||||||
# recommended use when you play with mods.
|
# automaticaly start when modloader is active.
|
||||||
SecurityEngine=true
|
SecurityEngine=true
|
||||||
|
|
||||||
# Controls the change of wallpaper
|
# Controls the change of wallpaper
|
||||||
|
|
|
||||||
3
toolchain/arch/alpha.cmake
Normal file
3
toolchain/arch/alpha.cmake
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
set(ARCH_COMMON "")
|
||||||
|
set(ARCH_RELEASE -mcode-density-frame)
|
||||||
|
set(ARCH_DEBUG "")
|
||||||
6
toolchain/arch/arm.cmake
Normal file
6
toolchain/arch/arm.cmake
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
set(ARCH_COMMON "")
|
||||||
|
set(ARCH_RELEASE -momit-leaf-frame-pointer
|
||||||
|
-mlow-precision-recip-sqrt
|
||||||
|
-mlow-precision-sqrt
|
||||||
|
-mlow-precision-div)
|
||||||
|
set(ARCH_DEBUG -menable-sysreg-checking)
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
set(CUSTOM_FLAGS
|
|
||||||
-mlow-precision-recip-sqrt
|
|
||||||
-mlow-precision-sqrt
|
|
||||||
-mlow-precision-div
|
|
||||||
)
|
|
||||||
|
|
||||||
string(JOIN " " CUSTOM_FLAGS_STR ${CUSTOM_FLAGS})
|
|
||||||
set(CMAKE_C_FLAGS_INIT "${CMAKE_C_FLAGS} ${CUSTOM_FLAGS_STR}")
|
|
||||||
set(CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS} ${CUSTOM_FLAGS_STR}")
|
|
||||||
|
|
@ -1,12 +1,5 @@
|
||||||
set(CUSTOM_FLAGS
|
set(ARCH_COMMON "")
|
||||||
-minline-float-divide-min-latency
|
set(ARCH_RELEASE -minline-sqrt-min-latency
|
||||||
-minline-float-divide-max-throughput
|
-minline-int-divide-min-latency
|
||||||
-minline-int-divide-min-latency
|
-minline-float-divide-min-latency)
|
||||||
-minline-int-divide-max-throughput
|
set(ARCH_DEBUG "")
|
||||||
-minline-sqrt-min-latency
|
|
||||||
-minline-sqrt-max-throughput
|
|
||||||
)
|
|
||||||
|
|
||||||
string(JOIN " " CUSTOM_FLAGS_STR ${CUSTOM_FLAGS})
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CUSTOM_FLAGS_STR}")
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CUSTOM_FLAGS_STR}")
|
|
||||||
|
|
|
||||||
3
toolchain/arch/mips.cmake
Normal file
3
toolchain/arch/mips.cmake
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
set(ARCH_COMMON "")
|
||||||
|
set(ARCH_RELEASE -mno-check-zero-division)
|
||||||
|
set(ARCH_DEBUG "")
|
||||||
4
toolchain/arch/riscv.cmake
Normal file
4
toolchain/arch/riscv.cmake
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
set(ARCH_COMMON "")
|
||||||
|
set(ARCH_RELEASE -momit-leaf-frame-pointer
|
||||||
|
-mno-csr-check)
|
||||||
|
set(ARCH_DEBUG -mcsr-check)
|
||||||
Loading…
Reference in a new issue