MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

linkmap dump

+13 -1
+11 -1
meson.build
··· 88 88 link_args += ['-static'] 89 89 endif 90 90 91 + ant_link_args = link_args 92 + if get_option('linker_map') 93 + ant_linkmap = meson.project_build_root() + '/ant.linkmap' 94 + if host_machine.system() == 'darwin' 95 + ant_link_args += ['-Wl,-map,' + ant_linkmap] 96 + else 97 + ant_link_args += ['-Wl,-Map=' + ant_linkmap] 98 + endif 99 + endif 100 + 91 101 executable( 92 102 'ant', 93 103 files('src/main.c', 'src/watch.c') + [messages_h], 94 104 dependencies: libant_dep, 95 - link_args: link_args, 105 + link_args: ant_link_args, 96 106 export_dynamic: true 97 107 ) 98 108
+1
meson/meson.build
··· 4 4 message(' debug: ' + (get_option('debug') ? 'true' : 'false')) 5 5 message(' b_lto: ' + (get_option('b_lto') ? 'true' : 'false')) 6 6 message(' strip: ' + (get_option('strip') ? 'true' : 'false')) 7 + message(' linker_map: ' + (get_option('linker_map') ? 'true' : 'false')) 7 8 8 9 if get_option('buildtype') != 'release' 9 10 warning('Building in non-release mode. For best performance, use --buildtype=release')
+1
meson_options.txt
··· 1 1 option('jit', type: 'boolean', value: true, description: 'enable JIT compiler') 2 2 option('static_link', type: 'boolean', value: false, description: 'statically link the binary') 3 + option('linker_map', type: 'boolean', value: false, description: 'emit a linker map for the ant binary') 3 4 option('build_timestamp', type: 'string', value: '', description: 'build timestamp (defaults to current time if empty)') 4 5 option('deps_prefix_cmake', type: 'string', value: '', description: 'prefix path for finding dependencies in cmake subprojects')