diff --git a/tools/ports/sdl2.py b/tools/ports/sdl2.py index 5d5d561930221..60f1ae174e031 100644 --- a/tools/ports/sdl2.py +++ b/tools/ports/sdl2.py @@ -86,8 +86,7 @@ def create(final): srcs += ['thread/%s/%s' % (thread_backend, s) for s in thread_srcs] srcs = [os.path.join(src_dir, 'src', s) for s in srcs] - # TODO: Remove fwrapv when we update to a version which includes https://github.com/libsdl-org/SDL/pull/12581 - flags = ['-fwrapv-pointer'] + flags = [] includes = [ports.get_include_dir('SDL2')] if settings.PTHREADS: flags += ['-pthread']