From 2fadc908db675fc5d557378e8f404056d725c779 Mon Sep 17 00:00:00 2001 From: throwaway96 <68320646+throwaway96@users.noreply.github.com> Date: Mon, 25 Sep 2023 17:38:48 -0400 Subject: [PATCH] [webOS] tune for Cortex-A53 This commit changes architecture CFLAGS on webOS from `-march=armv7-a -mtune=cortex-a9 -mfpu=neon` to `-mcpu=cortex-a9 -mtune=cortex-a53` (`-mcpu=cortex-a9` implies `-mfpu=neon-fp16`). This maintains compatibility with all webOS TVs while optimizing for a newer and more common core. `-mfloat-abi=softfp` should be kept for ABI compatibility with system libraries. --- tools/depends/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac index b1bd2f5e56d2e..957a9e89c9d82 100644 --- a/tools/depends/configure.ac +++ b/tools/depends/configure.ac @@ -368,7 +368,7 @@ case $host in use_cpu="armeabi-v7a" fi use_toolchain="${use_toolchain:-/usr}" - platform_cflags="-fPIC -DPIC -march=armv7-a -mtune=cortex-a9 -mfloat-abi=softfp -mfpu=neon" + platform_cflags="-fPIC -DPIC -mcpu=cortex-a9 -mtune=cortex-a53 -mfloat-abi=softfp" platform_cxxflags="$platform_cflags -static-libstdc++" optimize_flags="-Os" platform_ldflags="-Wl,-rpath-link=$prefix/$deps_dir/lib"