blob: ea51e8957e86503d2b3ce9e5bfeb858067dd93a2 [file] [log] [blame]
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Only compiler settings should go in this file, any other USE flags should
# be set within profiles/base/make.defaults
ARM_FPU=crypto-neon-fp-armv8
MARCH_TUNE="-march=armv8-a+crc -mtune=cortex-a57.cortex-a53 -mfpu=${ARM_FPU} -mfloat-abi=hard"
# Add the linker option to fix hardware errata. Refer bug here -
# https://code.google.com/p/chrome-os-partner/issues/detail?id=39170
LDFLAGS="${LDFLAGS} -Wl,--fix-cortex-a53-843419"