mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
update raspi build config
This commit is contained in:
parent
ea2aff4c12
commit
cea0336649
1 changed files with 3 additions and 3 deletions
|
@ -2070,9 +2070,9 @@ if (is_win) {
|
||||||
common_optimize_on_cflags = [ "-O3", ]
|
common_optimize_on_cflags = [ "-O3", ]
|
||||||
common_optimize_on_ldflags = [ "-Wl,-O3", ]
|
common_optimize_on_ldflags = [ "-Wl,-O3", ]
|
||||||
|
|
||||||
if (current_cpu == "arm64") {
|
if (current_cpu == "arm64" || target_cpu == "arm64") {
|
||||||
common_optimize_on_cflags += [ "-march=armv8-a+simd", "-mtune=cortex-a72", "-mfloat-abi=hard", "-mfpu=neon-vfpv4", ]
|
common_optimize_on_cflags += [ "-march=armv8-a+crc", "-mtune=cortex-a72", "-mfpu=neon-fp-armv8", "-mfloat-abi=hard", ]
|
||||||
common_optimize_on_ldflags += [ "-march=armv8-a+simd", ]
|
common_optimize_on_ldflags += [ "-march=armv8-a+crc", ]
|
||||||
if (is_linux) {
|
if (is_linux) {
|
||||||
common_optimize_on_cflags += [ "-Wno-unused-command-line-argument", ]
|
common_optimize_on_cflags += [ "-Wno-unused-command-line-argument", ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue