summaryrefslogtreecommitdiff
path: root/zephyr/cmake/linker/ld/gcc/linker_flags.cmake
blob: f71793c4313ef999f188e59b1c8db89fba615f61 (plain)
1
2
3
4
5
6
7
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# GCC 11 by default emits DWARF version 5 which cannot be parsed by
# pyelftools. Can be removed once pyelftools supports v5.
add_link_options(-gdwarf-4)