diff options
author | kcgen <kcgen@users.noreply.github.com> | 2022-06-14 03:30:07 +0300 |
---|---|---|
committer | kcgen <kcgen@users.noreply.github.com> | 2022-06-14 03:30:07 +0300 |
commit | 958996cf83b761fd5d33429e63e2459b41b2ae50 (patch) | |
tree | cca405121b158fe61259836fdc9f64fe5f1db98a /meson.build | |
parent | af32b4aa07b63b655f067c71619d1e0715dfcc94 (diff) |
Add a Meson option (-Dasm=true) for saving assembly output
Co-authored-by: kcgen <kcgen@users.noreply.github.com>
Co-authored-by: Kirk Klobe <kklobe@gmail.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 03f84b503..b27b989fd 100644 --- a/meson.build +++ b/meson.build @@ -72,6 +72,11 @@ if get_option('buildtype') == 'release' '-fdata-sections'] endif +if get_option('asm') + extra_flags += ['--save-temps', + '/FAs'] +endif + if host_machine.system() == 'windows' extra_flags += '-Wno-pedantic-ms-format' endif |