From 6b43f5af255eb93579928bafdba08d7fb84bfbc5 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Thu, 9 Mar 2023 18:38:13 +0100 Subject: [PATCH] scripts: waf: psvita: remove fsigned-char and GNU_SOURCE --- scripts/waifulib/xcompile.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/waifulib/xcompile.py b/scripts/waifulib/xcompile.py index 483ef2b3..08e90228 100644 --- a/scripts/waifulib/xcompile.py +++ b/scripts/waifulib/xcompile.py @@ -480,16 +480,11 @@ class PSVita: # this optimization is broken in vitasdk cflags += ['-fno-optimize-sibling-calls'] # disable some ARM bullshit - cflags += ['-fsigned-char', '-fno-short-enums', '-Wno-attributes'] + cflags += ['-fno-short-enums', '-Wno-attributes'] # base include dir cflags += ['-isystem %s/arm-vita-eabi/include' % self.vitasdk_dir] # SDL include dir cflags += ['-I%s/arm-vita-eabi/include/SDL2' % self.vitasdk_dir] - # the game wants GNU extensions - if cxx: - cflags += ['-std=gnu++17', '-D_GNU_SOURCE'] - else: - cflags += ['-std=gnu11', '-D_GNU_SOURCE'] return cflags # they go before object list