Skip to content

Commit

Permalink
wscript: disable stringop-overflow for NSW to workaround buggy toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Aug 7, 2023
1 parent 08a2d43 commit 7824bda
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@ def configure(conf):
# '-Wdouble-promotion',
]

# buggy compiler on NSW
if conf.env.DEST_OS != 'nswitch':
opt_flags += [ '-Werror=stringop-overflow' ]

opt_cflags = [
'-Werror=declaration-after-statement',
'-Werror=enum-conversion',
Expand Down

0 comments on commit 7824bda

Please sign in to comment.