blob: 739dfa78f26117a96150596645fb01cea6d1c81d [file] [log] [blame]
# Copyright 2018 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
# TODO(b:109850061): upstream compiler should be able to support
# cortex-a73.cortex-a53, we may need to switch to it if we upgrade
# the compiler later.
MARCH_TUNE="-march=armv8-a+crc -mtune=cortex-a57.cortex-a53"
MARCH_TUNE="${MARCH_TUNE} -mfpu=${ARM_FPU} -mfloat-abi=hard"