We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38e1646 commit 1ae691eCopy full SHA for 1ae691e
tools/ports/sdl2.py
@@ -70,7 +70,8 @@ def create(final):
70
srcs += ['thread/%s/%s' % (thread_backend, s) for s in thread_srcs]
71
72
srcs = [os.path.join(src_dir, 'src', s) for s in srcs]
73
- flags = ['-sUSE_SDL=0']
+ # TODO: Remove fwrapv when we update to a version which includes https://github.com/libsdl-org/SDL/pull/12581
74
+ flags = ['-sUSE_SDL=0', '-fwrapv-pointer']
75
includes = [ports.get_include_dir('SDL2')]
76
if settings.PTHREADS:
77
flags += ['-pthread']
0 commit comments