blob: 44e5f3ededa8656c7c2b83b01ae8f80e826ad235 [file] [log] [blame]
# Copyright 2019 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.
cros_pre_src_prepare_patches() {
# Disable noexec mounts check for lakitu.
# Lots of our users rely on running scripts from /home which
# is noexec.
# See https://chromium.googlesource.com/chromiumos/docs/+/master/security/noexec_shell_scripts.md
CPPFLAGS+=" -DSHELL_IGNORE_NOEXEC"
export bash_cv_getcwd_malloc=yes
}