Skip to content

Commit 8d84ab1

Browse files
build: compiler flag adjustments
1 parent 23cca30 commit 8d84ab1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

meson.build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,11 @@ endforeach
258258

259259
qemu_common_flags = [
260260
'-D_GNU_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE',
261-
'-fno-strict-aliasing', '-fno-common', '-fwrapv' ]
261+
'-fwrapv' ]
262262
if get_option('debug')
263-
qemu_common_flags += ['-DDEBUG']
263+
qemu_common_flags += ['-DDEBUG', '-fno-omit-frame-pointer']
264264
else
265-
qemu_common_flags += ['-DG_DISABLE_ASSERT', '-DNDEBUG']
265+
qemu_common_flags += ['-DNDEBUG', '-D__OPTIMIZE__']
266266
endif
267267
qemu_cflags = []
268268
qemu_ldflags = []

0 commit comments

Comments
 (0)