From b154fc9f3be603ced4727861725dca79f83200ba Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Fri, 21 Aug 2026 22:04:59 -0700 Subject: [PATCH] Remove `-fwrapv-pointer` from SDL2 build. NFC This should have been removed in #24912. --- tools/ports/sdl2.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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']