Skip to content

Commit

Permalink
disable optimize level and link with libm
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Sep 14, 2023
1 parent d584388 commit fcf9e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ run_command('bash', './tool/mkctx.sh',
check:true)

run_command('bash', './tool/check.sh', meson.current_build_dir(), check:true)
args = ['-O3', '-flto', '-Wall',
args = ['-O0', '-flto', '-Wall','-lm',
'-fvisibility=hidden', '-Wextra', '-Wno-unused-parameter','-s',
'-Wl,--gc-sections','-ffunction-sections',
'-fdata-sections', '-fno-exceptions']
Expand Down

0 comments on commit fcf9e3d

Please sign in to comment.