diff options
Diffstat (limited to 'zephyr/cmake/linker/ld/gcc/linker_flags.cmake')
-rw-r--r-- | zephyr/cmake/linker/ld/gcc/linker_flags.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/cmake/linker/ld/gcc/linker_flags.cmake b/zephyr/cmake/linker/ld/gcc/linker_flags.cmake new file mode 100644 index 0000000000..f71793c431 --- /dev/null +++ b/zephyr/cmake/linker/ld/gcc/linker_flags.cmake @@ -0,0 +1,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) |