Changeset 71b4444 in mainline for kernel/meson.build
- Timestamp:
- 2023-10-22T16:59:42Z (7 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 78f0422c, dd7df1c
- Parents:
- 590cb6d2 (diff), 2944b5a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/meson.build
r590cb6d2 r71b4444 89 89 '-T', meson.current_build_dir() / '_link.ld', 90 90 ] 91 # The kernel is built as ELF but then copied as a blob of bytes and 92 # the permissions are not relevant anyway (needed for binutils 2.39+). 93 kernel_link_args += ldflags_ignore_rwx_segments 91 94 92 95 if CONFIG_LTO … … 101 104 kernel_c_args = arch_kernel_c_args + kernel_defs + [ 102 105 '-ffreestanding', 103 # TODO: remove this flag 104 cc.get_supported_arguments([ '-Wno-cast-function-type' ]), 106 107 cc.get_supported_arguments([ 108 # TODO: remove this flag 109 '-Wno-cast-function-type', 110 111 # When accessing specific memory addresses that are below 112 # normal page size, the compiler may assume that we actually 113 # dereferenced NULL pointer and warns us about that. 114 # But in kernel we often need to access these addresses 115 # directly hence we need to ignore these warnings. 116 # 117 # TODO: might make more sense to disable this selectively 118 # in specific files (or better yet, for specific lines). 119 '--param=min-pagesize=0', 120 ]), 105 121 ] 106 122
Note:
See TracChangeset
for help on using the changeset viewer.