aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/aarch64_flags.go
blob: a0d05523077edecfac1025da395dad8d52aabe08 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2020 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.

package main

func processAarch64Flags(builder *commandBuilder) {
	if builder.target.arch == "aarch64" {
		builder.addPreUserArgs("-mharden-sls=all")
	}
}