Changes in kernel/meson.build [62721d5:c21d4d6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/meson.build
r62721d5 rc21d4d6 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 and92 # the permissions are not relevant anyway (needed for binutils 2.39+).93 kernel_link_args += ldflags_ignore_rwx_segments94 91 95 92 if CONFIG_LTO … … 104 101 kernel_c_args = arch_kernel_c_args + kernel_defs + [ 105 102 '-ffreestanding', 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 ]), 103 # TODO: remove this flag 104 cc.get_supported_arguments([ '-Wno-cast-function-type' ]), 121 105 ] 122 106
Note:
See TracChangeset
for help on using the changeset viewer.