summaryrefslogtreecommitdiff
path: root/zephyr/cmake/compiler/gcc/compiler_flags.cmake
blob: b5a6d01d5fe8279973e0bbfa7efc1a17c0409f50 (plain)
1
2
3
4
5
6
7
8
9
10
# 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.

# 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)