summaryrefslogtreecommitdiff
path: root/zephyr/cmake/compiler/gcc/compiler_flags.cmake
blob: adc111835e1cbda131dfa89ee7a5a8f5ed456ccc (plain)
1
2
3
4
5
6
7
8
9
10
# Copyright 2020 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Zephyr cmake system looks into ${TOOLCHAIN_ROOT}, but we just send
# this out to the copy in ${ZEPHYR_BASE}.
include("${ZEPHYR_BASE}/cmake/compiler/gcc/compiler_flags.cmake")

# Disable position independent code.
add_compile_options(-fno-PIC)