in my case it is detected as:
Code: Select all
-march=armv8-a+dotprod+i8mm
Code: Select all
-march=armv8-a+dotprod+i8mm
From this, I would infer that there is more work - maybe much more work - involved than merely deleting the bundled copy and passing some flags to point to the system version.[bug=909343#c1]Stephan Hartmann[/bug] wrote:Chromium uses internal API of libaom. Bundled ffmpeg has modifications required for compiling Chromium.



Code: Select all
# Chromium at least, is broken with -march or -mcpu
# Unset it on a per package basis
# COMMON_FLAGS="-mcpu=cortex-a76+crc+crypto -O2 -pipe -mtune=cortex-a76 -mbranch-protection=standard"
CFLAGS="-O2 -pipe -mtune=cortex-a76 -mbranch-protection=standard"
CXXFLAGS="-O2 -pipe -mtune=cortex-a76 -mbranch-protection=standard"Code: Select all
www-client/chromium no-mcpuCode: Select all
-mbranch-protection=standardCode: Select all
CFLAGSCode: Select all
libyuvCode: Select all
CPU_FLAGSCode: Select all
libvpxCode: Select all
-m{arch,tune,cpu}