From 9ef43a4794ec36608bc57182194a6d7a58392e64 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Thu, 9 Mar 2023 18:34:05 +0100 Subject: [PATCH] scripts: psvita: no need to force GNU_SOURCE everywhere --- scripts/waifulib/xcompile.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/waifulib/xcompile.py b/scripts/waifulib/xcompile.py index 483ef2b3..ef7f4210 100644 --- a/scripts/waifulib/xcompile.py +++ b/scripts/waifulib/xcompile.py @@ -485,11 +485,6 @@ class PSVita: 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