Skip to content

Commit

Permalink
Remove -Os compiler flag.
Browse files Browse the repository at this point in the history
Hardcoding it in that fashion interferes with the default Meson
debug build type. We still need to figure out how to force that for
the optimized build type but that can be punted far down the road.
  • Loading branch information
krader1961 committed May 9, 2018
1 parent db3b027 commit bb57b0b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ project('ksh93', 'c', default_options: ['b_lundef=false', 'default_library=stati
# does that but also limits which APIs are available.
add_global_arguments('-std=gnu99', language: 'c')

# Compiling for small code size is usually the better choice unless
# benchmarking shows otherwise.
add_global_arguments('-Os', language: 'c')

# Without this flag some symbols aren't visible.
#
# TODO: Figure out if there is a more generic manner of enabling support for
Expand Down

0 comments on commit bb57b0b

Please sign in to comment.