Changeset 971849b1 in mainline
- Timestamp:
- 2019-08-17T12:49:43Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4b65f9a
- Parents:
- 2483f28
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-07 12:04:25)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/meson.build
r2483f28 r971849b1 62 62 ] 63 63 64 if CONFIG_LTO 65 kernel_link_args += [ '-flto' ] 66 endif 67 64 68 if CONFIG_STRIP_BINARIES 65 # TODO: let meson do this69 # TODO: do this after disassembling 66 70 kernel_link_args += [ '-s' ] 67 71 endif … … 72 76 cc.get_supported_arguments([ '-Wno-cast-function-type' ]), 73 77 ] 78 79 if CONFIG_LTO 80 kernel_c_args += [ '-flto' ] 81 endif 74 82 75 83 if cc.get_id() == 'clang' -
meson.build
r2483f28 r971849b1 114 114 'CONFIG_FPU', 115 115 'CONFIG_LINE_DEBUG', 116 'CONFIG_LTO', 116 117 'CONFIG_PCUT_SELF_TESTS', 117 118 'CONFIG_PCUT_TESTS', … … 247 248 248 249 '-D_HELENOS_SOURCE', 250 249 251 '-Wa,--fatal-warnings', 250 252 251 253 '-Wall', 252 254 '-Wextra', 253 254 255 '-Werror-implicit-function-declaration', 255 256 256 '-Wwrite-strings', 257 257 '-Wunknown-pragmas', … … 260 260 261 261 '-pipe', 262 262 263 '-ffunction-sections', 263 264 264 '-fno-common', 265 266 265 '-fdebug-prefix-map=' + meson.source_root() + '=.', 267 266 ]
Note:
See TracChangeset
for help on using the changeset viewer.